Computing.Net > Forums > Windows XP > syntax for batch file

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

syntax for batch file

Reply to Message Icon

Name: rkjohn
Date: January 18, 2006 at 16:17:50 Pacific
OS: WXP Pro
CPU/Ram: P4 512
Comment:

I have a couple hundred folders in which I want to create subfolders. Same subfolders in each one. What is the correct syntax for this?



Sponsored Link
Ads by Google

Response Number 1
Name: temperal72
Date: January 18, 2006 at 17:09:06 Pacific
Reply:

do you have a list of the folders you want the subfolders placed in ?

you can get a list of folders using the
dir /b > list.txt

then copy in some kind of text like
mkdir c:\ before the entry
then \subfolder name after each entry

than save the file to something.bat
then run it

Its hard to explain without knowing what the names are,, if you have any question,, just ask here on the board,, Ill be up for a little while longer


If your not learning,, your just sitting there


0

Response Number 2
Name: rkjohn
Date: January 18, 2006 at 18:31:20 Pacific
Reply:

worked beautifully.....thanks


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Windows XP Forum Home


Sponsored links

Ads by Google


Results for: syntax for batch file

simple batch file www.computing.net/answers/windows-xp/simple-batch-file/149160.html

Change hostname from batch file? www.computing.net/answers/windows-xp/change-hostname-from-batch-file/159541.html

Batch file HELP! www.computing.net/answers/windows-xp/batch-file-help/149551.html