Creating a shortcut to a programme on a usb drive.

  1.    #1

    Creating a shortcut to a programme on a usb drive.

    hey folks,

    I want to be able to create a shortcut to launch a programme that is stored in a folder on a usb drive and have that shortcut on the actual usb drive itself, not on windows desktop as that way is easy enough to do, just send to desktop.

    I use a few different computers and drive letter will change for the usb drive that is why I need the start shortcut on the actual usb drive itself, where the programme is stored.

    Would save a lot of time actually searching for the icon that will start the programme in the drive.

      My ComputerSystem Spec

  2. Bree's Avatar
    Posts : 11,666
    10 Home x64 (1903) (10 Pro on 2nd pc)

    A shortcut stored on the usb itself will run into problems if (as is likely) ther usb has a different drive letter on each computer. A shortcut has to contain the full path including the drive letter.

    An approach that will work regardless of the drive letter is to use a .bat file to start your programme. Create a text file containing the command....

    START \folder\sub-folder\program.exe

    (obviously, use the correct path and name for your programme) Save this as <any name you like>.bat to the root of the usb. When you run the .bat file (by double-clicking, as you would a shortcut) it will be run starting in the root of the usb . The path to the executable is relative to where the .bat starts, so it will work regardless of what drive letter the usb has at the time.
      My ComputersSystem Spec

  3.    #3

    Brilliant works a treat, thank you so much.
      My ComputerSystem Spec

  4. jimbo45's Avatar
    Posts : 7,525
    Windows / Linux : Centos, Ubuntu, OpenSuse

    Hi there


    even simpler method which works for any program etc.

    Open file location or use windows explorer to get to the program you want to run then right mouse click then choose send to -->desktop(create short cut). You get icon as well and once on desktop you can move / copy to bottom task bar (the quick launch taskbar) etc.

    I use this method to get back things like Control panel on to the desktop -- Control panel still has loads of uses and other programs.

    Remember though before launching the program you need to ensure the device is available to the computer or you'll get a message program not found.

    For your USB adding the batch file on to the USB is fine and will work perfectly too.

      My ComputerSystem Spec


Related Threads
Solved Creating a desktop shortcut in Browsers and Email
All I want to do is create a Desktop shortcut & icon for Microsoft Edge. Simple I thought, but I cannot do it. If I move an icon in the source folder, either an exe or lnk, to the Desktop it does not launch when clicked, or when I click open or run...
Hi! :) When I create/copy a file to my desktop, a 2nd copy shows up... Location for the files is: Z:\Users\Public\Desktop Z:\Users\Y\Desktop ... any tips how to fix this? So only one file appears...?
The program WinsSCP comes with 2 executables: WinSCP.exe and I am trying to create desktop shortcuts for each. I had no trouble creating one for the .exe file but Windows won't create for the .com file. If I go to its folder,...
When using any version of IE Explorer, when viewing a webpage and want to create a desktop shortcut to that webpage I would simply right click just about anywhere on the webpage and select Create Desktop Shortcut from the drop-down Menu and Presto a...
Solved Automated Shortcut Creating in General Support
Howdy, Right click on Desktop > Personalize > Themes > Desktop Icon Settings > Add This PC... This will make a "This PC" shortcut on desktop, which if you right click on, and choose Properties, will open up "System Details Window" rather than...
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 14:22.
Find Us