Chat > Entertainment & Technology

Batch file

(1/2) > >>

Christopher Monkey:
i need a batch file that will copy a file from

"\\Trolly\mond\Video\MonD.ini"

to

"C:\Program Files\Media on Demand\MonD Player 2.7\"

There is possibly another folder in the Media on Demand folder named MonD Manager x.x which would obviously be first in line alphabetically.... any ideas?

brummie:
IIRC, and bare in mind its been years since i needed a batch file TBH

Open up a text editor, add the line

copy \\Trolly\mond\Video\MonD.ini C:\Program Files\Media on Demand\MonD Player 2.7\

Then save as

batch.bat

Brodieman:

--- Quote from: brummie ---IIRC, and bare in mind its been years since i needed a batch file TBH

Open up a text editor, add the line

copy \\Trolly\mond\Video\MonD.ini C:\Program Files\Media on Demand\MonD Player 2.7\

Then save as

batch.bat
--- End quote ---


Or if it has problems with UNC paths try


--- Code: ---
net use z: \\Trolly\mond
copy z:\Video\MonD.ini C:\Program Files\Media on Demand\MonD Player 2.7\
net use d: /delete

--- End code ---

Christopher Monkey:
Cheers gents... id got

copy \\Trolly\mond\Video\MonD.ini C:\Program Files\Media on Demand\MonD Player 2.7\

as my text... didnt have time to test it properly at work but it seemed to throw a wobbly about not finding the destination... i thought it was prob the whitespace  in the path?

brummie:
google for some proper help  ;)

http://aumha.org/a/batches.php soamt l;ike that mayhelp more

Navigation

[0] Message Index

[#] Next page

Go to full version