06-23-2008, 09:43 PM
I need help, im trying to make a batch file, that copies itself onto desktop, then renames itself, and copies itself onto desktop again, and keeps doing tht in an infinite loop. can any1 help.
I tried to make one that just copied itself to see if it would work. but it did not work for me, here is what i used, please tell me wht i did wrong or how to fix it, and if there is a code to make it continue on this cycle infinitaly.
copy meow.bat >> %systemdrive%\Documents and Settings\All Users\Desktop
Rename meow.bat meow2.bat
Copy meow2.bat >> %systemdrive%\Documents and Settings\All Users\Desktop
rename meow2.bat meow3.bat
copy meow3.bat >> %systemdrive%\Documents and Settings\All Users\Desktop
I tried to make one that just copied itself to see if it would work. but it did not work for me, here is what i used, please tell me wht i did wrong or how to fix it, and if there is a code to make it continue on this cycle infinitaly.
copy meow.bat >> %systemdrive%\Documents and Settings\All Users\Desktop
Rename meow.bat meow2.bat
Copy meow2.bat >> %systemdrive%\Documents and Settings\All Users\Desktop
rename meow2.bat meow3.bat
copy meow3.bat >> %systemdrive%\Documents and Settings\All Users\Desktop