Creating a new folder tree

Microsoft Small business server 2003 - 2...
August 17, 2009 at 05:41:42
Specs: Windows XP Pro SP3
I want to be able to create a new set of folders,
including subfolders, that also automatically
insert file templates into some of the folders.

At the same time I want a folder created in a
seperate location and a shortcut to this placed in the first location.

A prompt to enter the name of the main folder
would also be useful.

Thanks


See More: Creating a new folder tree

Report •


#1
August 17, 2009 at 06:42:34
@echo off
set /p mf=Main Folder Name:

set mfl=(Where you want the main folder)
set ofl=(Where you want the other folder)
set ftl=(location of file template)

md %mfl%\%mf%\Subfolder
copy %ftl%\%mf%\Subfolder\
md %ofl%\OtherFolder
echo explorer.exe %ofl%\OtherFolder>%mfl%\%mf%\link.bat

There are no stupid questions, just stupid people.


Report •

#2
August 17, 2009 at 07:48:47
Thanks! That's what I was after!

Report •

#3
August 17, 2009 at 07:54:10
No problem.

There are no stupid questions, just stupid people.


Report •

Related Solutions


Ask Question