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!

Scripted user folder assignments

Status
Not open for further replies.

JBruyet

IS-IT--Management
Apr 6, 2001
1,200
US
Hey all,

I'm trying to map user folders on my server using some kind of script line but I can't find anything in my 2000 manual. I'm looking for something that would map an H: drive to that users folder. For example, is NET USE H: \\SERVERNAME\%USERNAME% a valid command syntax? Will this work. I've done DOS batch files but I've never done any scripting. ALSO, do I need to go in and manually assign rights to each folder?

Any help is greatly appreciated,

Joe Brouillette
 
Joe I took the following steps:
1. I created a folder on my server called Test
2. I shared the folder
3. I created a text file named Test within the folder
4. I moved to one of my workstations
5. I entered a DOS window and typed:
Net User P: \\Server1\Test
6. I received a message that said the the effort was successful
7. I then typed Dir P: and hit the enter key
8. The results listed the text file in the folder on the server.

So it would seem that the string works just fine

Good Luck
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top