Solved

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

Posted on 2009-06-29
4
267 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Gift cards are not a new concept - it's been around for a very long time.  Undoubtedly, over the past you have received such a card or purchased one for a friend or relative.  Are you aware that you've been feeding the machine?  If not, read on :)
This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
Notifications on Experts Exchange help you keep track of your activity and updates in one place. Watch this video to learn how to use them on the site to quickly access the content that matters to you.

762 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