Wednesday, November 17, 2010

How toCreate a batch file called xxsetup.bat.When this file is executed, it should change directories to the r?

Create a batch file called xxsetup.bat. When this file is executed, it should change directories to the root directory and create the following directories in the root directory:



DOCS

SHEETS

DB

PRES



Then it should create the following subdirectories of the docs directory:



NEW

BAK



how do you do this?How toCreate a batch file called xxsetup.bat.When this file is executed, it should change directories to the r?
Put these lines into a text file then save it (select any type of extension rather than just .txt) with the name xxsetup.bat



(I assume C is your main hard drive but if it has a different designation then change it in the first line)



cd C:\

mkdir DOCS

mkdir DOCS\NEW

mkdir DOCS\BAK

mkdir SHEETS

mkdir DB

mkdir PRES

No comments:

Post a Comment