net use problem - probably stupid
I'm messing about with a virtual network I've created to learn my MCSE exams on.
I want to automate network drive mapping on the domain workstations. I can do this from the workstation using the dialogue in My Computer but can't seem to get the net use command to do the same thing - I need to get that command line right so I can write the script.
My domain is headquarters.nozzacorp and the server share is Share Folders on Server1
why won't net use z: \\server1\share folders work?