Windows 10: Trying to add a Bat file to the start menu.

Discus and support Trying to add a Bat file to the start menu. in Windows 10 Support to solve the problem; Hi there. I created the file google.bat with the following content: start "" "Google" What I want to do is add this file to the start menu.... Discussion in 'Windows 10 Support' started by beactive, Oct 14, 2015.

  1. beactive Win User

    Trying to add a Bat file to the start menu.


    Hi there.

    I created the file google.bat with the following content:

    start "" "Google"

    What I want to do is add this file to the start menu.
    The objective is to be able to execute it with Cortana by saying "hey Cortana, open google".

    If I add the file into C:\Users\**User**\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\System Tools
    it doesn't show on the start menu.

    At one point I added a folder (and it did show on the start menu) into c:\program data\Microsoft\windows\start menu\programs
    but when I restarted the computer it disappeared.

    Any ideas?

    :)
     
    beactive, Oct 14, 2015
    #1
  2. OzTones Win User

    Windows 10 Start menu - add shortcut to .bat file

    Thanks John, but I'd already done everything you suggest. The drivers are the latest available and the power-saving option is already disabled, but the problem persists. My .bat file run as Admin works, and I've got it sitting on my desktop. I just
    prefer not to have my desktop contents on display, so have to keep showing them and re-hiding them, or alternatively run it from a File Explorer window. Having it (or a shortcut to it) on the Start Menu seems the most elegant option, if only I could find
    out how to enable it!
     
    OzTones, Oct 14, 2015
    #2
  3. John Ado Win User
    Windows 10 Start menu - add shortcut to .bat file

    Hi OzTones,

    This is by default. You may create a shortcut to your desktop instead. You may also consider updating your wireless adapter or check its power saver option. Go to
    Device Manager > Network adapters > Right-click the wireless driver >
    Updater driver. If the latest version is installed, select
    Properties
    > Power Management > Uncheck Allow the computer to turn off this device to save power
    box.

    Best regards.
     
    John Ado, Oct 14, 2015
    #3
  4. Brink
    Brink New Member

    Trying to add a Bat file to the start menu.

    Brink, Oct 14, 2015
    #4
  5. beactive Win User
    Hi Brink,

    I did try to pin a shortcut to the start menu. Cortana didn't recognize it as an app. So the "hey Cortana open..." didn't work.

    Also, in theory, if I can make a file to behave like an app in a way that Cortana recognizes it, there are many possibilities to use Cortana for other things too.
     
    beactive, Oct 14, 2015
    #5
  6. You want to add a website and open it with cortana so here are the steps:
    1. Create a
    New folder (anywhere) then create a New Text Document and open it.
    2. Write (@echo off) then press enter and write (start "" "the URL")
    3. On the top press file then save as then rename the file as you want to call it followed by (.bat) then save.
    4. Create a shortcut of the bat file you just created and delete the test file.
    5. (optional) you can change the icon of the bat file by right click,properties,change icon and also remove the (-shortcut).
    6. Put the shortcut in (C:\Users\**User**\AppData\Roaming\Microsoft\Windows\Start Menu\Programs) & leave the bat file.
    7. Wait a while or restart with update until cortana recognize the file.
    8. Hey cortana then tell her open (the shortcut name ) and you are done*Party.

    NOTES:
    1. You can get website icons by opening website and in google chrome press on top right,more tools,add to desktop then open (C:\Users\username\AppData\Local\Google\Chrome\User Data\Default\Web Applications) here you will find the website icon in one of the folders.
    2. Just be sure that you modify the shortcut in the same folder with the bat file or it wont work.
    3. Don't delete the original bat file you can hide it anywhere or make it hidden from properties.
    4. Delete the added desktop website form the web site and from (C:\Users\**User**\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Chrome Apps) or it will confuse cortana.
    5. I know also a way to open folders by voice if you want to know just ask.
    6. I expect to see one thanks as i registered and responded and *sorry for any bad English if there is! i am an Egyptian**Redface.
     
    ahmed hares, May 1, 2016
    #6
  7. Kyhi Win User
    We are all members here - we offer help as a mutual benefit - for ourselves and others...
    No Thanks Ever Required... But always welcome..
     
    Kyhi, May 1, 2016
    #7
  8. Edwin New Member

    Trying to add a Bat file to the start menu.

    Why not just set the desired website as a 'homepage', then say "Hey Cortana, open Chrome" (or whatever browser you're using as default)


    Trying to add a Bat file to the start menu. [​IMG]
     
    Edwin, Apr 4, 2018
    #8
Thema:

Trying to add a Bat file to the start menu.

Loading...
  1. Trying to add a Bat file to the start menu. - Similar Threads - Trying add Bat

  2. Pin a bat file DIRECTLY to start menu drop down windows

    in Windows 10 Software and Apps
    Pin a bat file DIRECTLY to start menu drop down windows: as said in title.I do NOT want the make a bat file shortcut and pin that.I do NOT want to hear about adding it to the Start-UP folder.I need the line of code to ad to the RegEdit to allow for .Bat files to be pinned/dragged and drop directly to my start menu. I know it is...
  3. Pin a bat file DIRECTLY to start menu drop down windows

    in Windows 10 Customization
    Pin a bat file DIRECTLY to start menu drop down windows: as said in title.I do NOT want the make a bat file shortcut and pin that.I do NOT want to hear about adding it to the Start-UP folder.I need the line of code to ad to the RegEdit to allow for .Bat files to be pinned/dragged and drop directly to my start menu. I know it is...
  4. Pin a bat file DIRECTLY to start menu drop down windows

    in Windows 10 Gaming
    Pin a bat file DIRECTLY to start menu drop down windows: as said in title.I do NOT want the make a bat file shortcut and pin that.I do NOT want to hear about adding it to the Start-UP folder.I need the line of code to ad to the RegEdit to allow for .Bat files to be pinned/dragged and drop directly to my start menu. I know it is...
  5. Add or remove Open With on Context Menu for BAT or URL files in Windows 11/10

    in Windows 10 News
    Add or remove Open With on Context Menu for BAT or URL files in Windows 11/10: [ATTACH]In Windows 11 or Windows 10, the Open With context menu allows you to choose an app to open the file with. PC users can remove Programs from the Open With context menu, and can also Edit, Add, Restore, Remove items from context menu. In this post, we will show you how...
  6. *.bat -files not starting!

    in Windows 10 Gaming
    *.bat -files not starting!: I have a friend that wants to host a Minecraft server for a few friends, and we put "java -Xmx1024M -Xms1024M -jar server.jar nogui" in "Start.bat" in a folder, but nothing happens when we start the file server.jar is also in that folder! He has Java installed and Windows 10...
  7. How to pin a bat file to start menu

    in Windows 10 Network and Sharing
    How to pin a bat file to start menu: Before anyone points to the various workarounds, I've tried all I can find and they all seem to have problems. I want to be able to give other people in my office a folder of files eg, on a usb stick that they can move to a location on their PC that allow them to connect to...
  8. add items in menu Start

    in Windows 10 Customization
    add items in menu Start: Hi to whom it may concern. I know how to insert one icon in Start Menu or in application bar but I don't know to insert VLC media reader icon in the list of Apps at left of Start Menu. Could you tell me how to do it? Thank you and Best Regards, Dario...
  9. is there a bat that can backup and restore start menu ?

    in Windows 10 Backup and Restore
    is there a bat that can backup and restore start menu ?: Hi is there a bat file to backup and restore the start menu ? thanks 19253
  10. Add Open with to Context Menu of BAT files in Windows 10

    in Windows 10 Tutorials
    Add Open with to Context Menu of BAT files in Windows 10: How to: Add Open with to Context Menu of BAT files in Windows 10 How to Add or Remove Open with Context Menu to BAT files in Windows 10 A .bat file is a batch file that consists of a series of commands to be executed by the command line interpreter, stored in a plain...