Click to See Complete Forum and Search --> : dos batch files info


jalvarez
June 23rd, 2000, 02:10 AM
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

Steve R Jones
June 23rd, 2000, 06:41 AM
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.

Vernon Frazee
June 23rd, 2000, 03:49 PM
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 (http://vernon.frazee.net/ms-dos/6.22/help/cd.htm).
 
Click here for MS-DOS v6.22 EDIT instructions (http://vernon.frazee.net/ms-dos/6.22/help/edit.htm).