Hi all,
Could someone please help me to get my batch file to copy itself to multiple directories at once.
Thanks,
Rileyh
How to copy to multiple directories at once
Moderator: DosItHelp
Re: How to copy to multiple directories at once
One example:
@echo off
copy batchfile.bat C:\folderyouwant\
copy batchfile.bat C:\folderyouwant2\
copy batchfile.bat C:\folderyouwant3\
copy batchfile.bat C:\folderyouwant4\
echo done
echo Press any key to fail massively...
pause>nul
@echo off
copy batchfile.bat C:\folderyouwant\
copy batchfile.bat C:\folderyouwant2\
copy batchfile.bat C:\folderyouwant3\
copy batchfile.bat C:\folderyouwant4\
echo done
echo Press any key to fail massively...
pause>nul