Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2009-06-29
4
Medium Priority
?
290 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
  • 2
4 Comments
 
LVL 8

Accepted Solution

by:
JIEXA earned 1600 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 400 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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

In this post we will learn different types of Android Layout and some basics of an Android App.
This article will show how Aten was able to supply easy management and control for Artear's video walls and wide range display configurations of their newsroom.
In this sixth video of the Xpdf series, we discuss and demonstrate the PDFtoPNG utility, which converts a multi-page PDF file to separate color, grayscale, or monochrome PNG files, creating one PNG file for each page in the PDF. It does this via a c…
Introduction to Processes

824 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