Home » Questions » Computers [ Ask a new question ]

Portable Shortcuts on Windows

Portable Shortcuts on Windows

I can't figure out how to create shortcuts that don't care where they are mounted. For example, on my flash drive, I want to run CCleaner or Notepad++ in my college classroom. The problem is, a shortcut (at least with default settings) doesn't work reliably because it is tied to the same drive it was created on. Is there a way to do something like in HTML?

Asked by: Guest | Views: 196
Total answers/comments: 2
Guest [Entry]

You can use mklink if on Vista or later to create symbolic links. They can be pointed to wherever you want. Alternatively a batch file as pointed out by pelms would work as well.
Guest [Entry]

"Ok thank you guys for your replies. Here is what I ended up doing for any interested. pelms idea to use a batch file is almost it. (A Very good idea, thank you pelms) What I did was just make an AutoIt script that runs the apps in directories below it. Then I just compiled it with an extracted .ico from each executable file so everything looked pretty. Thanks again John and pelmsd

Run ('Program Data\PDF X-Change\PDFXCview.exe')

That is all the script consists of. Thanks again guys, I have linked the two programs I used if anyone is interested

AutoIt

IcoFX"