Need a batch file please
Posted: 27 Mar 2012 23:13
Ok i don't really do batch files, but i know they can be used for many things. And now the need has arrived for the need of one.
i need a file to run and check a folder and all sub folders and look for a file and if that file is there make a copy of it but with a different name, but if that file already is there then skip it and continue on.
I have alot of movies on a server with a folder.jpg inside each folder and need to make a copy of that file but labled poster.jpg for another meda box to be able to use it. so i will need bot files there and as i add movies i will need to run this programs every so often to fill in the missing files.
example here is where my movies are stored
"M:\ServerFolders\MKV Movies HD"
then they are broken down into A, B, C ,.... folders and then each movie is in its sub folder.
example
M:\ServerFolders\MKV Movies HD\0-9\300
with in this folder i have the folder.jpg file and need a copy of it and renamed to poster.jpg so in the end i will have both a folder.jpg and a poster.jpg file in each movie folder.
I could really use your help to write (What i have been told is a simple batch file but have no idea how to write one)
THANKS!
i need a file to run and check a folder and all sub folders and look for a file and if that file is there make a copy of it but with a different name, but if that file already is there then skip it and continue on.
I have alot of movies on a server with a folder.jpg inside each folder and need to make a copy of that file but labled poster.jpg for another meda box to be able to use it. so i will need bot files there and as i add movies i will need to run this programs every so often to fill in the missing files.
example here is where my movies are stored
"M:\ServerFolders\MKV Movies HD"
then they are broken down into A, B, C ,.... folders and then each movie is in its sub folder.
example
M:\ServerFolders\MKV Movies HD\0-9\300
with in this folder i have the folder.jpg file and need a copy of it and renamed to poster.jpg so in the end i will have both a folder.jpg and a poster.jpg file in each movie folder.
I could really use your help to write (What i have been told is a simple batch file but have no idea how to write one)
THANKS!