<Gorilla>
31-08-2010, 07:21 PM
Hey all.
Last LAN i was a victim of a rather nasty batch file that restarted me after 20 sec of so. I managed to remove it and now i think its time for some revenge...
So I need to make a batch file that makes a folder in c:\ then creates a folder inside that folder
and so on until the hard drive is full. (evil i know :P)
You ask "why not just google it?" Well i have and i found this code...
@echo off
MD C:\TEMP
{other code}
:END
This works fine for one folder, but i cannot figure out how to make folder after folder after folder. If i loop the code it just over writes it so no point there. The only obvious solution would be to type in the folder as may times as i would like it but this guys packing 2TB and i dont think i have to will to copy/paste over and over. Surely there is another way?
Last LAN i was a victim of a rather nasty batch file that restarted me after 20 sec of so. I managed to remove it and now i think its time for some revenge...
So I need to make a batch file that makes a folder in c:\ then creates a folder inside that folder
and so on until the hard drive is full. (evil i know :P)
You ask "why not just google it?" Well i have and i found this code...
@echo off
MD C:\TEMP
{other code}
:END
This works fine for one folder, but i cannot figure out how to make folder after folder after folder. If i loop the code it just over writes it so no point there. The only obvious solution would be to type in the folder as may times as i would like it but this guys packing 2TB and i dont think i have to will to copy/paste over and over. Surely there is another way?