Lets say that someone deceided to run this for shits and giggles:
@echo off
:m
:m
start cmd.exe
start cmd.exe
start cmd.exe
start (your file name).bat
goto m
How might this person fix his comp.......
Batch
1 pages • Page 1
If you can use the taskbar ok, check Startup folder in programs, see if the .bat file is there, or a shortcut to it and delete it. If its not there start>run and enter msconfig and go to startup tab and search for the .bat file there. You can also use search to find the .bat file and delete it.
If you're unable to do that, use one of the cmd windows and enter this string
ren c:\windows\system32\cmd.exe c:\windows\system32\cmd_bak.exe
then once you've got rid of the .bat file then
ren c:\windows\system32\cmd_bak.exe c:\windows\system32\cmd.exe
If you're unable to do that, use one of the cmd windows and enter this string
ren c:\windows\system32\cmd.exe c:\windows\system32\cmd_bak.exe
then once you've got rid of the .bat file then
ren c:\windows\system32\cmd_bak.exe c:\windows\system32\cmd.exe
Pull the HD, hook it up to another computer as a secondary/external, and delete the .bat file.
or
Use your system restore discs to restore to OEM. (losing all data)
or
1-800-GeekSquad
EDIT: I totally forgot the easiest way to try first. While the loop is running, hit CTRL + C to try and break the loop. If that does nothing, try CTRL + PAUSE/BREAK.
or
Use your system restore discs to restore to OEM. (losing all data)
or
1-800-GeekSquad
EDIT: I totally forgot the easiest way to try first. While the loop is running, hit CTRL + C to try and break the loop. If that does nothing, try CTRL + PAUSE/BREAK.
m
I created a batch file using those commands (or similar, seeing as how "(your file name here)" is different), and all I did was restart the computer. I wasn't dumb enough to put it in the Startup folder of my user (or any user, for that matter).
I'm surprised you're not able to boot at all. There's something else amiss that's not allowing you to boot from the primary HDD (or wherever your WinXP is installed). Once you do, though, you should be able to go into Safemode and remove the offending batch file.
That's a very mean batch file (even I knew it would loop continuously, and I'm no batch expert).
I'm surprised you're not able to boot at all. There's something else amiss that's not allowing you to boot from the primary HDD (or wherever your WinXP is installed). Once you do, though, you should be able to go into Safemode and remove the offending batch file.
That's a very mean batch file (even I knew it would loop continuously, and I'm no batch expert).
As the computer is booting up - after it detects hardware, but before Windows starts - hit F8 repeatedly until the menu appears to select Safe Mode.
or - Boot off the Windows CD and use the "Repair Using Console" to delete the .bat
or - make your hard drive the "slave" drive (change the jumpers) - either in your own comuter by adding as "master", or putting it in another computer as "slave" - and simply delete the .bat
or - boot off the CD - follow the prompts until you get to "Repair the current installation" of Windows and try that (this is later than the Repair using Console thing)
or - Boot off the Windows CD and use the "Repair Using Console" to delete the .bat
or - make your hard drive the "slave" drive (change the jumpers) - either in your own comuter by adding as "master", or putting it in another computer as "slave" - and simply delete the .bat
or - boot off the CD - follow the prompts until you get to "Repair the current installation" of Windows and try that (this is later than the Repair using Console thing)


