Windows 10: How to pin a bat file to start menu

Discus and support How to pin a bat file to start menu in Windows 10 Network and Sharing to solve the problem; 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... Discussion in 'Windows 10 Network and Sharing' started by Garnett13, Jun 18, 2020.

  1. Garnett13 Win User

    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 our VPN and then RDP into their office machines.


    I have this running on my machine, but I do not know what set up each of our staff has.


    The sticking point is pinning a batch file to their start menu and taskbar.


    I am using a batch file that connects to the VPN using rasdial, and then remotes in using mstsc with reference to an .rdp file. The folder I would give them would therefore contain a batch file and an rdp file


    I've managed to make all pathways relative so far - eg, in the batch file:


    mstsc "%~dp0mycompany.rdp"


    The problem I have is the flaw in Windows that means you cannot pin a batch file to Windows start menu or taskbar.


    I have tried the workaround using a shortcut and cmd...


    C:\Windows\System32\cmd.exe /c "C:\Users\me\Documents\Connection to Company PC\companyremoteconnection.bat"


    The problem with that bodge-job is that cmd moves the starting point of the shortcut to System32, and so I can't then use a relative pathway to the batch file.


    Can anyone suggest any other ideas I might try?


    Thanks a lot.

    :)
     
    Garnett13, Jun 18, 2020
    #1

  2. How to pin shortcut to start menu.

    Hi,

    Thank you for posting your query on Microsoft Community.

    As per the description, I understand that you would like to know how to pin short cut to start menu.

    I would suggest you to refer to the article given below if you are using Windows 7.

    Pin a program to the Start menu

    http://windows.microsoft.com/en-US/windows7/Pin-a-program-to-the-Start-menu

    And if you are using Windows 10 then I would suggest you to follow the steps mentioned below.

    Pin apps to Start

    Pin the apps you use most often to the Start menu. Here's how:

    • Go to Start > All Apps.
    • Press and hold (or right-click) an app.
    • Select Pin to Start.




    Hope this helps. Please let us know the results. We will be happy to assist you further.
     
    Mayank Gupta10, Jun 18, 2020
    #2
  3. How to pin an Excel 2007 file to the W10 Start fly-out menu

    Thanks Annu.

    In Method 1, at step 2, the file I want doesn't already appear in the Start menu. Do mean to browse to the file I want in the File Explorer? If I right click on the file in the File Explorer, "Pin to Start menu" is not an option.

    In Method 2, at step 4, I release the left button, but the file doesn't appear anywhere in the Start Menu afterwards. It's not listed along with my Most Used apps, and it's not pinned in the Jump Menu of Excel 2007.

    Maybe I misunderstood something in your directions?

    Cheers,

    Vince
     
    Uncle Vinny, Jun 18, 2020
    #3
  4. Arun B J Win User

    How to pin a bat file to start menu

    Windows 10 Pin HTML file to Start Menu

    Hi,



    Thank you for posting your query in Microsoft Community.

    I understand your concern and will assist you to resolve this issue.

    I suggest you to follow the steps below and check if it helps.

    You can pin the website to Start

    • Open the web site and click on (…)
    • Click on pin to start


    Hope this helps. If the issue remains unresolved, please get back to us and we would be happy to help
     
    Arun B J, Jun 18, 2020
    #4
Thema:

How to pin a bat file to start menu

Loading...
  1. How to pin a bat file to start menu - Similar Threads - pin bat file

  2. Pin BAT file to the Taskbar

    in Windows 10 Software and Apps
    Pin BAT file to the Taskbar: Is there an easy, extremely simple, way to just pin a *.bat file to the Taskbar of Windows 11? I've been searching and searching the internet to solve this problem. None of the solutions I found actually worked. This shouldn't be hard - but for whatever reason - it seems...
  3. 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...
  4. 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...
  5. 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...
  6. How do I pin a bat/cmd file to the start menu or taskbar in Windows 11

    in Windows 10 Gaming
    How do I pin a bat/cmd file to the start menu or taskbar in Windows 11: I've recently purchased a new computer, upgrading from Windows 7 to Window 11.I'm trying to configure my new Win11 machine to give me the same functionality and ease of use as my Win07 machine.I have several bat/cmd scripts that I use for starting applications in specific...
  7. How do I pin a bat/cmd file to the start menu or taskbar in Windows 11

    in Windows 10 Software and Apps
    How do I pin a bat/cmd file to the start menu or taskbar in Windows 11: I've recently purchased a new computer, upgrading from Windows 7 to Window 11.I'm trying to configure my new Win11 machine to give me the same functionality and ease of use as my Win07 machine.I have several bat/cmd scripts that I use for starting applications in specific...
  8. *.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...
  9. How to pin File Explorer to the Start menu

    in Windows 10 Customization
    How to pin File Explorer to the Start menu: Pls. tell me how to pin File Explorer to the Start menu, so that I will have it in 2 places (also on taskbar), so that I can open it separately (twice) at the same time....
  10. Trying to add a Bat file to the start menu.

    in Windows 10 Support
    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...