Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 292
  • Last Modified:

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
0
spar-kle
Asked:
spar-kle
  • 2
2 Solutions
 
JIEXACommented:
You can use shared directory:
  \\spar-kle-pc\share-name\msg.bat
or:
  \\spar-kle-pc\c$\permitted-to-write-directory\msg.bat
0
 
Diesel79Commented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

What Kind of Coding Program is Right for You?

There are many ways to learn to code these days. From coding bootcamps like Flatiron School to online courses to totally free beginner resources. The best way to learn to code depends on many factors, but the most important one is you. See what course is best for you.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now