Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: How do I abort this batch file?

12 Aug 2012   #1

Windows 7 Home Premium 64-bit
 
 
How do I abort this batch file?

How would I abort this test batch file I (accidentally) put in Computer Startup?
[C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup is a folder in the hard drive that runs all of its contents when any user on the computer logs in.]



Here is what the batch file's command(s) are (the command(s) are in black):
@echo off
echo Bye!
shutdown -s -f -t 00
*


*The -t 00 (as you may already know) means that there is no time to pull up cmd.exe and manually abort the shutdown.



Thank you.

My System SpecsSystem Spec
.

12 Aug 2012   #2

Win 7 Pro x64 SP1, Win 7 Ult x86 SP1
 
 

Start Windows in Safe Mode so you can delete the bat file.
Use Option One in this tutorial for starting Windows in Safe Mode.
Safe Mode
My System SpecsSystem Spec
12 Aug 2012   #3

Windows 7 Home Premium 64-bit
 
 

Thanks!
My System SpecsSystem Spec
.


12 Aug 2012   #4

Win 7 Pro x64 SP1, Win 7 Ult x86 SP1
 
 

You're welcome !
My System SpecsSystem Spec
Reply

 How do I abort this batch file?




Thread Tools




Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 06:34 AM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33