Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

3rd Party Folder Creation Software?

Status
Not open for further replies.

JoeySpills

IS-IT--Management
Mar 3, 2006
21
US
Hello all,

Interesting scenario I have before me and I need a little guidance please. Our firm is making a valiant attemp at becoming "paperless" and has purchased all hardware (Scanners, Terabyte Servers, etct.) required to do just that. The task before me is this:

I need to create a storage folder for each of the firms clients in a designated location. I have the current list of clients in bare text format and CSV format as well.

I also have a Folder/sub-folder template that goes about 6 levels deep that needs to be placed in EACH of the roughly 3,000 client folders that gets created. Some of these sub-folders have permissions that need to be applied and passed on when duplicated <shrugs>

I've never been in this scenario before but cannot imagine this being so uncommon. I've googled "folder creation software" and played with "Folder Maker V2.1" and I'm not to thrilled with it.

If anyone is familiar with a scenario like the one described above I would be greatly appreciative if they can point me in the right direction.

Thanks so much in advanced,

Joe
 
Simple batch file would do it. I use one of the below for creating user folders which shares it and applies permissions, the other is for creating many folders from a text file list. No doubt this will give shudders to the VBScripters out there but it works for me.

You'd just need to integrate the two.

Create.cmd
h:
cd \users2
md %1
xcacls %1 /G administrators:F /Y
xcacls %1 /E /G DomainName\%1:F
rmtshare \\servername\%1$=h:\users2\%1 /grant everyone:F /remark:"Home share for %1"
prosetup \\dcname %1 /home:\\servername\%1$ /hdrv:u:

newdir.cmd
@echo off
for /f %%a in (servlist.txt) do if not exist %%a MD %%a

Actually here is a third one to copy files from a folder on a list of servers to folder on another.

@echo off
for /f %%a in (servlist2.txt) do xcopy \\%%a\c$\compaq\survey\survey.txt \\gbvol-fp1\surveys\%%a /z /y


Hope this is of some help to you.
Neill
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top