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 bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Auto Folder Creation

Status
Not open for further replies.

stunpals

MIS
Aug 2, 2002
147
CA
Is there a way to use cmd line or tool to help novice users to create a folder structure with predetermined permissions from a template. so that they only need to browse the desired folder path and then create.
 
How do I use a batch file so that the user can create a new folder structure at a dynamic location.

eg.. on our mapped drive we organize like this...
R:\Clients\%Year%\%Partner%\Client#\

The folders from Partner up are locked down to all staff with RX only. Under the Partner folder we have a standard Client folder structure with 3 folders.

What I'm trying to do is setup a way for admin staff to be able to create the folders with set permissions below the Partner level for a new client. The rest of the staff would only have file RWXD.

I'm sure with a little time I could get the folders and permsisons with a batch file, where I'm stuck is the variable on where the folders would be created as this could be in any of the Yr folders at the Clietn# level.
 
You would want to prompt the user for the info in some method. The most configurable option would be a small VB.NET program so they could use the standard windows open file diaglog box to select where they wanted to create the folders.

Denny

--Anything is possible. All it takes is a little research. (Me)

[noevil]
(My very old site)
 
How hard is it to learn do to something of this nature.. I can right some batch files but don't do any programing.

Also is there any software/Lic required to make the VB.??
 
The person who writes the app would need a license for Visual Studio.NET. The VB code is kind of like ASP script, but more advanced. It shouldn't be to hard for you to do.

Denny

--Anything is possible. All it takes is a little research. (Me)

[noevil]
(My very old site)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top