Solved

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

Posted on 2009-06-29
4
277 Views
Last Modified: 2013-11-13
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
Comment
Question by:spar-kle
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 8

Accepted Solution

by:
JIEXA earned 400 total points
ID: 24736208
You can use shared directory:
  \\spar-kle-pc\share-name\msg.bat
or:
  \\spar-kle-pc\c$\permitted-to-write-directory\msg.bat
0
 
LVL 5

Assisted Solution

by:Diesel79
Diesel79 earned 100 total points
ID: 24736222
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
 

Author Comment

by:spar-kle
ID: 24736369
Thanks guys
I think the problem was that the destination folder was twi seperate words.
Changed this and now working correctly
Des
0
 

Author Closing Comment

by:spar-kle
ID: 31597920
Thanks for your help
0

Featured Post

Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Although it can be difficult to imagine, someday your child will have a career of his or her own. He or she will likely start a family, buy a home and start having their own children. So, while being a kid is still extremely important, it’s also …
As computers become more powerful, jobs will be replaced with artificial intelligence, leaving no place in the future for humans in the workforce. In the oncoming technological revolution, the staggering change to human mind labor will prove the ski…
Sometimes we receive PDF files that are in the wrong orientation. They may be sideways or even upside down. This most commonly happens with scanned or faxed documents. It is possible to rotate the view of these PDFs with the free Adobe Reader produc…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

627 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question