|I'm trying to make a batch file that checks if there is a .exe in a folder and if there is, renames it and copys it to the location of the batch file, then i want it to remove the .exe from its original location and run the copy, after that i want the batch file to start over.|
I added pause so i could check each step when running it, i will remove these upon completion.
I have this so far:
if exist \\COLIN-PC\Shared Doc's\*.exe goto exist
ren \\COLIN-PC\Shared Doc's\*.exe battoexecute.exe
copy \\COLIN-PC\Shared Doc's\battoexecute.exe battoexecute.exe
del \\COLIN-PC\Shared Doc's\battoexecute.exe
P.S. Sorry if I posted in wrong section, I'm new to computing.net :-)
"An open mind leaves a chance for someone to drop a worthwhile thought into it."