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

  1.    15 Oct 2015 #1

    Trying to add a Bat file to the start menu.

    Hi there.

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

    start "" ""

    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?
      My ComputerSystem Spec

  2. Brink's Avatar
    Posts : 33,055
    64-bit Windows 10 Pro build 18252
       15 Oct 2015 #2

    Hello Beactive, and welcome to Ten Forums. :)

    You might see if using a shortcut created using OPTION THREE with that URL may work for this instead. You'll be able to "Pin to Start" this shortcut.

    Internet Website Shortcut - Create - Windows 7 Help Forums
      My ComputersSystem Spec

  3.    15 Oct 2015 #3

    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.
      My ComputerSystem Spec

  4.    17 Oct 2015 #4

      My ComputerSystem Spec

  5.    01 May 2016 #5

    solved but you need to focus

    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

    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*.
      My ComputerSystem Spec

  6.    01 May 2016 #6

    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*.
    We are all members here - we offer help as a mutual benefit - for ourselves and others...
    No Thanks Ever Required... But always welcome..
      My ComputerSystem Spec

  7.    01 May 2016 #7

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

    Click image for larger version. 

Name:	000159.png 
Views:	20 
Size:	18.7 KB 
ID:	77786
      My ComputerSystem Spec


Related Threads
In start menu file explorer is missing & in settings--- personalization---- start---- choose folder option appears on start is disable I have attach some photos then help me please how enable choose which folder appears on start ...
I am using Windows 10 for around 2 days now. But today my computer freezed while playing a game, so i restarted my computer and when i logged in, the start menu,notification menu and metro apps would not open anymore. Whats is happening?
Either the Windows 10 start menu really sucks or I am using it wrong. I am used to the StartisBack/Windows 7 menu where you can pin anything and all applications will come up in search results. In the Windows 10 menu, I can't pin anything to the...
The File menu on Explorer has some useful shortcuts 11606 . If you select / highlight a folder in File Explorer and and then pick Open Command Prompt, then the Current Directory (CD) in Cmd is the folder selected in file Explorer. You don't...
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd
All times are GMT -5. The time now is 04:51.
Find Us