Bat file to boot into boot menu?

Discussion in 'backup, imaging & disk mgmt' started by david banner, Aug 10, 2022.

  1. david banner

    david banner Registered Member

    Joined:
    Nov 24, 2007
    Posts:
    725
    When my Computer starts i have to press F8 to get to the boot menu if i want to reboot from USB/external disk etc. Is there any way to make a bat file that will restart and do whatever pressing F8 does and get me to the boot menu?
     
  2. xxJackxx

    xxJackxx Registered Member

    Joined:
    Oct 23, 2008
    Posts:
    8,645
    Location:
    USA
    I would assume no as that file would not be loaded until after the opportunity to press F8 had passed. It's possible someone else knows something I don't. If so then we'll both learn something but I'm still assuming no.
     
  3. stapp

    stapp Global Moderator

    Joined:
    Jan 12, 2006
    Posts:
    24,115
    Location:
    UK
    I would agree it's a no to a bat file.

    Perhaps altering your bios setting so USB is first to load, and making sure that your usb is plugged in when you boot may be a workaround.
     
  4. TheRollbackFrog

    TheRollbackFrog Imaging Specialist

    Joined:
    Mar 1, 2011
    Posts:
    4,954
    Location:
    The Pond - USA
    David, it's not clear what you want to eventually do with an option like this. If it's a MANUAL option needed occasionally, you can use a FREE utility by NeoSmart called iReboot. It allows you to select any of your BOOT menu entries to BOOT into the next time your machine BOOTs up... and only that time. After that it goes back to your DEFAULT BOOT sequence. I use it all the time to BOOT into other BOOT menu items when needed. You select your entry using iReboot, then the next time only your System restarts, it will BOOT into that selection.

    If you want to always BOOT into the BOOT menu, I use EasyBCD from NeoSmart (also FREE) to set that up, along with the timer as to how long you stay in that menu before moving on to the DEFAULT BOOT item.
     
    Last edited: Aug 10, 2022
  5. david banner

    david banner Registered Member

    Joined:
    Nov 24, 2007
    Posts:
    725
    NeoSmart's iReboot sounds what i need. I will also look at EasyBCD .Thanks
     
  6. Hadron

    Hadron Registered Member

    Joined:
    Apr 1, 2014
    Posts:
    2,145
    That looks like a handy little tool.
     
  7. Brian K

    Brian K Imaging Specialist

    Joined:
    Jan 28, 2005
    Posts:
    12,179
    Location:
    NSW, Australia
    You can use this batch file...

    Code:
    shutdown /r /fw /t 0
    The computer will reboot into the UEFI/Firmware (BIOS) and you can choose the item to boot from the Boot Override menu. This batch file only works in UEFI systems.
     
  8. david banner

    david banner Registered Member

    Joined:
    Nov 24, 2007
    Posts:
    725
    Thanks but i have don't have UEFI
     
  9. Brummelchen

    Brummelchen Registered Member

    Joined:
    Jan 3, 2009
    Posts:
    5,933
    BIOS is BIOS, not bat, exe, com, its nothing you can script.
     
  10. EASTER

    EASTER Registered Member

    Joined:
    Jul 28, 2007
    Posts:
    11,126
    Location:
    U.S.A. (South)
    It might turn out useful over here too. A lot of my old XP tools like this have cobwebs on them now.
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.