You are here

Flash Drive Root Shortcuts\Batch Files

4 posts / 0 new
Last post
Anonymous (not verified)
Flash Drive Root Shortcuts\Batch Files

This may sound rather simple and unimportant, but I have been trying to figure out a way to create a shortcut on the root of the drive, to my portable apps execution files within thier respective folders. I have been able to create batch files that work, but I would like to assign icons to the "shortcuts" so they are more easily distinguished from one another. Any thoughts?

John T. Haller
John T. Haller's picture
Offline
Last seen: 3 hours 26 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
You can't...

Shortcuts don't work portably. That's one of the reason the launchers work from multiple locations (just about everywhere if you use the INI).

Sometimes, the impossible can become possible, if you're awesome!

scogan (not verified)
Re: You can't...

I don't have this problem. In your Thunderbird batch script you used something like:


set RM_DRVLTR=%CD~0,2%

I use autohotkey to set up an environment, exporting that variable, and to give me hotkey access to a non-resident menu off of my usb drive. I use it with shortpopup, but something like pstart or powerpro works as well. Then I just use the RM_DRVLTR variable rather than drive letters in all of my shortcuts in the menu folder structure. For a while I simply started versions of firefox released after whatever your current portable firefox version was at the time using the -p switch pointing to my profile from a batch file which set the RM_DRVLTR variable. It seemed to work fine. Plugins, java, and extensions also worked from the thumb drive for the most part.

John T. Haller
John T. Haller's picture
Offline
Last seen: 3 hours 26 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Nice idea

I hadn't considered setting an environment variable.

Sometimes, the impossible can become possible, if you're awesome!

Topic locked