How do I abort this batch file?


  1. Posts : 2
    Windows 7 Home Premium 64-bit
       #1

    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 Computer


  2. Posts : 6,330
    Multi-Boot W7_Pro_x64 W8.1_Pro_x64 W10_Pro_x64 +Linux_VMs +Chromium_VM
       #2

    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 Computer


  3. Posts : 2
    Windows 7 Home Premium 64-bit
    Thread Starter
       #3

    Thanks! :)
      My Computer


  4. Posts : 6,330
    Multi-Boot W7_Pro_x64 W8.1_Pro_x64 W10_Pro_x64 +Linux_VMs +Chromium_VM
       #4

    You're welcome !
      My Computer


 

  Related Discussions
Our Sites
Site Links
About 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 23:42.
Find Us