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!

Need a batch file to share 400 directories

Status
Not open for further replies.

goecs

Technical User
Aug 8, 2001
13
US
I need to share over 400 user directories and don't want to go thru the tedius process of right clicking each directory, selecting share, share as, etc. Anyone got a script, batch file, or something that will do this? I found one using ADSI and WSH, but couldn't get it to work.

Any tips appreciated.

Chris.
 
Create a users folder, share that to domain users. Select all users in UMD and set their home directories to \\servername\users\%username% and hit OK.

net use f: /home means they see users and can look into ONLY their own folder.

Tis done.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top