Wednesday, November 17, 2010

How do you do this? I have no idea...batch file..root directory, etc.?

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

BAKHow do you do this? I have no idea...batch file..root directory, etc.?
I'm not exactly sure what purpose this can be used for, but here's a possible code sample:



cd \

md DOCS\NEW

md DOCS\BAK

md SHEETS

md DB

md PRESHow do you do this? I have no idea...batch file..root directory, etc.?
Root directory, Batch file. BAT is usually a IBM Dos, Microsoft Dos, script file. I really can't tell you cause thats not enough information.

But my best guess

cd (What ever the root directory their talking about, in *inx its / but in dos/windows it might be c:\ or a directory)

mkdir DOCS

mkdir SHEETS

mkdir DB

mkdir PRES

mkdir DOCS\NEW

mkdir DOCS\BAK
Close. Anyway ...



Put this into a text editor:

cd \

md docs

md sheets

md db

md pres

md docs\new

md docs\bak



Save it as xxsetup.bat. (It doesn't matter whether it's upper case, lower case or mixed case - docs, DOCS and DoCs are all the ame directory as far as the operating system is concerned.)

No comments:

Post a Comment