1.

Solve : Batch file wont exit?

Answer»

cd c:\
MKDIR myexportedmail
copy d:\*.* c:\myexportedmail
cd myexportedmail
attrib -r *.pst
exit

The above program does not exit. The DOS screen remains open. Currently running windows 98 and have saved the above file as a BAT file i.e filename.bat
Please helpHi
I start to do msdos language
can you help me one thing
how can i GO to the root directory, my comp is XP, when i run dos it comes as c:\DOCUMENTS and settings\ I want to know any command i can go to the different directory or back to the c:\windows\systemTo go back up a directory :
cd..

To go back to your main directory:
cd\

To make a directory:
md "newdirectory"

To change to a specific directory:
cd c:\"Specific directory"\"Filename.ext"

Hope this helps

CEE



Discussion

No Comment Found