Is it possible to use a BAT file over a network?

JIEXA created a batch file for me that generates the next sequential number and copies to clipboard.
However these needs to work over a peer-to-peer network so that users at different PC's can get access to the latest number.
Is this possible with a batch file?
Please advise...

Des
spar-kleOperations DirectorAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
JIEXAConnect With a Mentor Commented:
You can use shared directory:
  \\spar-kle-pc\share-name\msg.bat
or:
  \\spar-kle-pc\c$\permitted-to-write-directory\msg.bat
0
 
Diesel79Connect With a Mentor Commented:
Absolutely. You will possibly need to change the batch file to reflect the correct paths for your network share or destination. You can also utilize map drives to simplify this process.
0
 
spar-kleOperations DirectorAuthor Commented:
Thanks guys
I think the problem was that the destination folder was twi seperate words.
Changed this and now working correctly
Des
0
 
spar-kleOperations DirectorAuthor Commented:
Thanks for your help
0
All Courses

From novice to tech pro — start learning today.