Batch

Kerwyn Nasilan

Kerwyn Nasilan

Forge Runner

Join Date: Aug 2007

WHERE DO YOU THINK

W/

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.......

dilan155

dilan155

Desert Nomad

Join Date: May 2007

living room

N/

im not exactly sure what that does, but i assume it creates a cmd starting loop? if this is so is it possible to use task manager to shutdown the whole tree?

Kerwyn Nasilan

Kerwyn Nasilan

Forge Runner

Join Date: Aug 2007

WHERE DO YOU THINK

W/

Yeah thats it, i restarted the comp but it goes form the first load screen to a black screen with a little flashing _, its an XP and I cannot seem to get Safe Mod working.

fusa

fusa

Krytan Explorer

Join Date: Mar 2007

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

Kerwyn Nasilan

Kerwyn Nasilan

Forge Runner

Join Date: Aug 2007

WHERE DO YOU THINK

W/

I cannot even get to that screen I can only access the opening screen with DELL and f2=setup and f12=something and a few other thing and the loading gos no father. I already restarted my comp.

Relnor

Relnor

Lion's Arch Merchant

Join Date: Feb 2006

W/

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.

majikmajikmajik

Wilds Pathfinder

Join Date: Aug 2007

SATown~Tx

Guild Hopper!

R/

i think you can goto the BIOS on the startup screen(f11 or 12) and goto reset to last know best configuration.

Kerwyn Nasilan

Kerwyn Nasilan

Forge Runner

Join Date: Aug 2007

WHERE DO YOU THINK

W/

I can get to what I think is BIOS how do I go to good config, Ill see what I can do
Thanks for all this help to the most massively fail scriptkiddy ever

EDIT: It worked, clicked some random thing in Boot-Up menu and it seems to be working thanks much

Relnor

Relnor

Lion's Arch Merchant

Join Date: Feb 2006

W/

Just remember CTRL + C and CTRL + PAUSE/BREAK next time. It will save you a lot of time and hassle.

JupiterStarWarrior

JupiterStarWarrior

Lion's Arch Merchant

Join Date: Jun 2008

Oklahoma City

Noble Order Of Valiant Angels

Me/

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).

Quaker

Quaker

Hell's Protector

Join Date: Aug 2005

Canada

Brothers Disgruntled

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)

Snograt

Snograt

rattus rattus

Join Date: Jan 2006

London, UK GMT??0 ??1hr DST

[GURU]GW [wiki]GW2

R/

That's not a batch file. that's a biatch file.

Eejit.