Hello,
I have a department here at work that uses job files for our products. The manager asked me to write a batch file that will create, after a couple user inputs, a directory tree that contains all the relevant folders for the job file they're creating, along with preset permissions on each folder in the tree. These folders are being created on a network share. There will be at least 3 people that will be tasked with creating these directories. Unfortunately, not all of these people have full control of all of the relevant folders. I, as an admin, have no problem running the batch file successfully. The other 3 get permissions errors when the batch is run under their logins. Is there a DOS command or switch that will allow users to create folders for which they won't have write access to? I'd like to have this work without any intervention on my part, and without having to change their accounts every time they need to create a file structure...and I'd like to avoid having to create the folders for them.
As an aside, all of the users except one are running Win2K, and the other is running NT4. The server in question is running Server 2003.
Thanks for any help...
I have a department here at work that uses job files for our products. The manager asked me to write a batch file that will create, after a couple user inputs, a directory tree that contains all the relevant folders for the job file they're creating, along with preset permissions on each folder in the tree. These folders are being created on a network share. There will be at least 3 people that will be tasked with creating these directories. Unfortunately, not all of these people have full control of all of the relevant folders. I, as an admin, have no problem running the batch file successfully. The other 3 get permissions errors when the batch is run under their logins. Is there a DOS command or switch that will allow users to create folders for which they won't have write access to? I'd like to have this work without any intervention on my part, and without having to change their accounts every time they need to create a file structure...and I'd like to avoid having to create the folders for them.
As an aside, all of the users except one are running Win2K, and the other is running NT4. The server in question is running Server 2003.
Thanks for any help...