How do I make a batch file in dos that will open a program.
I need to name the file S
The file is acct\prog\solomon\solomon
I have this in one PC but forgot how it create the command.
![]() |
How do I make a batch file in dos that will open a program.
I need to name the file S
The file is acct\prog\solomon\solomon
I have this in one PC but forgot how it create the command.
Open a DOS window.
At the command prompt, type "Copy Con: S.bat [Return]"
Presuming the file you wish to run is on C:
Type "C:\acct\prog\solomon\solomon.exe"
Press [CTRL Z] together, then press [Return]
You now have a file titled S.bat (in my case it is on the Desktop), but surely it is easier just to create a shortcut to the .exe and put that on the desktop??
If you want to use an editor rather than type direct from the keyboard. Type Edit filename then press [Return]
You can also use Notepad or any of a load of text editors to do this. Just save the file as a plain text file with a .BAT extension.
All times are GMT -7. The time now is 07:29 PM. |