Batch file as Network Drive?

cctjw

n00b
Joined
Sep 19, 2012
Messages
1
Is there a way to set a batch file to a network drive? Here is what I have, and what I want it to do.

echo off
:COPY
IF (%1)==() GOTO END
xCOPY %1 O:\LOCATION1\ /d:09-19-2012 /s
xCOPY %1 O:\LOCATION2\ /d:09-19-2012 /s
SHIFT
GOTO COPY
Pause
echo Files have been successfully copied to both iNexiv folders
Pause
:END

I want to set this as a network drive so that all folders entered into said drive will automatically write all new data to the specified locations. (Takes away the need to have the batch file on all computers, and unable to have others edit the file.)

I am not sure if this is possible...
 
Just put the batch file on a network share somewhere with read/execute only permissions for the client computers and then put shortcuts to it on the computers.
 
Back
Top