You are here

"Relative" Paths for Shortcuts on Portable Drives?

10 posts / 0 new
Last post
CallMeZoot
Offline
Last seen: 17 years 9 months ago
Joined: 2006-06-10 15:27
"Relative" Paths for Shortcuts on Portable Drives?

Hi,

I have my portable applications in a "Program Files" folder on my Thumbdrive.

I have shortcuts to these programs in the root directory, but these only work on computers where my thumbdrive has the same drive letter.

Is it possible to make a "relative" path to these applications, so that my Shortcut links will work no matter what the drive letter is? If not, any other tips for quick startup of applications?

Thanks,
chris.

John T. Haller
John T. Haller's picture
Online
Last seen: 44 min 17 sec ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Nope

Shortcuts require full paths.

All the launchers for the portable apps can be placed in multiple directories. Take PortableFirefox.exe for example. You can place it in the directory above the PortableFirefox directory. My personal recommendation is to create a single PortableApps directory in the root of your drive and place all the app directories in there. Then take all the launchers (PortableFirefox.exe, etc) and move them to the PortableApps directory. For all the apps released here, they all support this configuration.

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

Simeon
Simeon's picture
Offline
Last seen: 9 years 6 months ago
DeveloperTranslator
Joined: 2006-09-25 15:15
Does that work (with )for the suite, too?

"What about Love?" - "Overrated. Biochemically no different than eating large quantities of chocolate." - Al Pacino in The Devils Advocate

Torpedro
Offline
Last seen: 10 years 7 months ago
Joined: 2006-02-05 14:52
MyDrive should do this

Hi.
Mydrive from http://www.1way.ws/MyDrive.html should do this.
I didn't test it yet.

James Gresley
Offline
Last seen: 17 years 4 months ago
Joined: 2006-12-15 00:35
Where?

The web site is down, does anyone know where it can still be found?
LOL I just caught the irony! A program for relative paths and the path to it is broken! Blum

Simeon
Simeon's picture
Offline
Last seen: 9 years 6 months ago
DeveloperTranslator
Joined: 2006-09-25 15:15
not any more...

"What about Love?" - "Overrated. Biochemically no different than eating large quantities of chocolate." - Al Pacino in The Devils Advocate

Bahamut
Bahamut's picture
Offline
Last seen: 12 years 4 months ago
Joined: 2006-04-07 08:44
Try it anyway. Windows will

Try it anyway. Windows will automatically try to find the target using the drive letter of the drive in which the shortcut is placed.

Vintage!

Ryan McCue
Ryan McCue's picture
Offline
Last seen: 14 years 6 months ago
Joined: 2006-01-06 21:27
*shock horror*

You do realize this is an old topic Shock
----
Ryan McCue
Life is like a sewer. What you get out of it depends on what you put into it.
(Tom Lehrer)

"If you're not part of the solution, you're part of the precipitate."

arqbrulo
arqbrulo's picture
Offline
Last seen: 4 years 2 months ago
Joined: 2006-08-10 16:38
This might be an old topic but

Using Autoit I was able to make an exe to launch AutoStart and a vbs file which includes the following:

Set objShell = CreateObject("WScript.Shell")
arrPath = Split(Wscript.ScriptFullName, "\")
strdriveletter = arrPath(0)
set colVolatileEnvVars = objShell.Environment("Volatile")
colVolatileEnvVars("phd") = strdriveletter

This script sets whatever drive as "phd", and my shortcuts are "%phd%\documents\music" with the "". This does work for me.
---------------
Teen1: Oh, here comes that cannonball guy. He's cool.
Teen2: Are you being sarcastic, dude?
Teen1: I don't even know anymore.

"In three words I can sum up everything I've learned about life: it goes on." -- Robert Frost
"In three words I can sum up everything I've learned about life: baby ain't mine." -- Adam Holguin

fergus
Offline
Last seen: 4 years 1 month ago
Joined: 2006-12-17 14:24
Quickly calling up your apps

1. After you have plugged your portable drive (say H:, but it doesn't matter) into the host computer, open "My Computer" and drag the icon corresponding to the H: drive to the "Start" button in the taskbar. Then press Start and you will see that H: appears in the Start menu and you can follow the resulting cascade menu to your selected application just like Start -> Programs -> Accessories -> .. and all the rest. No scripting required, no special skills, no drivelabel dependencies.
or
2. Download PStart currently v.2.09 as advertised on this site and use that. It is really really neat. As before, no scripting, no skills (well, no special ones), no dependencies.

Topic locked