To run the batch use C:\NEWDIRS (Job or Quote Number)  (Reference Quote Number)

EXAMPLES:
To create directories for a Job only. C:\NEWDIRS J010620001 
To create directories for a Quote only C:\NEWDIRS Q010705001
To create directories for a Job that references a Quote. C:\NEWDIRS J010705001 Q010705001

To Setup:

Copy the batch file and the YES.TXT to the server that will be running the batch.

Create a share on the file server.  Give "everyone" read permissions.  Give the account that will log onto the server running the batch full permissions.
In my batch the share is \\KENDEV01\ORDER.

Set the "Net Use" to what ever drive letter you have open on the server that will run the batch.  This requires two drive letters to be open.  And one drive for creating the directories and one for creating the Short Cuts.

Edit the path to the YES.TXT.
In my batch I am running the batch and YES.TXT from the C:\.

If you wish to setup the NTFS permissions edit the CACLS lines with the users and permissions you wish.

CACLS is a normal NT file and should reside in the systemroot\system32 directory.

Here is the CACLS help info.

C:\>cacls /help
Displays or modifies access control lists (ACLs) o

CACLS filename [/T] [/E] [/C] [/G user:perm] [/R u
               [/P user:perm [...]] [/D user [...]
   filename      Displays ACLs.
   /T            Changes ACLs of specified files i
                 the current directory and all sub
   /E            Edit ACL instead of replacing it.
   /C            Continue on access denied errors.
   /G user:perm  Grant specified user access right
                 Perm can be: R  Read
                              W  Write
                              C  Change (write)
                              F  Full control
   /R user       Revoke specified user's access ri
   /P user:perm  Replace specified user's access r
                 Perm can be: N  None
                              R  Read
                              W  Write
                              C  Change (write)
                              F  Full control
   /D user       Deny specified user access.
Wildcards can be used to specify more that one file
You can specify more than one user in a command.









