if any one could help me with information on editing and creating batch file. I need to learn some commands for changing directory and subdirectory when a batch file is executed, also some info on dos editor.
Thanks for your help
Printable View
if any one could help me with information on editing and creating batch file. I need to learn some commands for changing directory and subdirectory when a batch file is executed, also some info on dos editor.
Thanks for your help
Click on the search button at the top of this page. Search out "batch file" in the DOS forum. You'll find dozens of helpful threads.
The command to change to a different directory from the DOS prompt or from within a BATch file is exactly the same. For example, the command:
cd\
moves you to the root directory on the current drive.
cd\windows
moves you into the windows directory.
cd\type\in\the\complete\path\to\whatever\subdirectory\you\want\here
Note that you can use chdir instead of cd if you like.
Click here for MS-DOS v6.22 cd instructions.
Click here for MS-DOS v6.22 EDIT instructions.