Shortcut Calculator App .bat
Solved
nightsheart
Posted messages
319
Registration date
Status
Member
Last intervention
-
dubcek Posted messages 18627 Registration date Status Contributor Last intervention -
dubcek Posted messages 18627 Registration date Status Contributor Last intervention -
Hello,
I currently have no knowledge of programming in .bat.
I only know that you can write in a text file and change the extension to .bat!
I would like to run a small test by creating a .bat file that launches the Windows Calculator program.
"%SystemRoot%\system32\calc.exe"
Then, I would like this program to execute the operation:
5+2
This program would stop there so that I can observe the result.
Thank you for helping me with the language to use for performing the calculation.
Thank you in advance,
Configuration: Windows XP / Firefox 19.0
I currently have no knowledge of programming in .bat.
I only know that you can write in a text file and change the extension to .bat!
I would like to run a small test by creating a .bat file that launches the Windows Calculator program.
"%SystemRoot%\system32\calc.exe"
Then, I would like this program to execute the operation:
5+2
This program would stop there so that I can observe the result.
Thank you for helping me with the language to use for performing the calculation.
Thank you in advance,
Configuration: Windows XP / Firefox 19.0
3 answers
-
you can launch the calculator by using only its path
either by : %SystemRoot%\system32\calc.exe
or by : calc.exe
or by : start calc.exe
but for the calculation operation sorry you cannot :( -
Thank you for the response.
I’m therefore giving up on the idea... -
hello
integer calculations can be performed by the DOScmd /c "set /a x=5+2 & echo.& pause"