Please, please help!
When a new user start in our company I have to create a new share for that user plus three sub folders, that are always the same name.
I am looking for a way to use NT commands from the command prompt and hopefully create some kind of batch script to semi-automate the process.
At present for a new user for example James Bond, I will user Server Manager to select the server HTMOA2, and add a new share with, in this case, the following details -
Share Name = Bond$
Path = d:\users\Bond
Comment = James Bond
Is there any way of writing a batch script, that prompts the user to enter a share name, path, and comment, and then go away and set the share up as above.
For setting up one user, this won't save a great deal of time, but when setting up a number of users, it would be a great help. Also this I hope could be just part of a longer script, to automate the other steps carried out when setting up a user.
Any help would be most appreciated.
Thanks
Brent
When a new user start in our company I have to create a new share for that user plus three sub folders, that are always the same name.
I am looking for a way to use NT commands from the command prompt and hopefully create some kind of batch script to semi-automate the process.
At present for a new user for example James Bond, I will user Server Manager to select the server HTMOA2, and add a new share with, in this case, the following details -
Share Name = Bond$
Path = d:\users\Bond
Comment = James Bond
Is there any way of writing a batch script, that prompts the user to enter a share name, path, and comment, and then go away and set the share up as above.
For setting up one user, this won't save a great deal of time, but when setting up a number of users, it would be a great help. Also this I hope could be just part of a longer script, to automate the other steps carried out when setting up a user.
Any help would be most appreciated.
Thanks
Brent