Get the new PortableApps.com Platform 10.0: Gorgeous themes, a full portable app store and advanced functionality
Announcing the World's Best Flash Drive: The PortableApps.com Companion

address file on USB-Stick with %pdrive%

mpref - January 10, 2008 - 11:32am

I want to open the file E:\foo.htm in my portable Firefox (also on E:\) and save it as bookmark using %pdrive% insted of E:\. So that when I connect to a different machine (where my Stick might be F:\) I can reopen the file from the bookmarks folder.

All my attempts using something like
file:\\\%pdrive%\foo.htm
in the address bar of the firefox have not succeeded.

It would be great, if you could help.


( categories: )

I dont know

if thats possible.
I don't know of any variable pointing to the usb drive. I guess you´d have to set it up by recompiling the Firefox Launcher so you have it while running Firefox.
But maybe there is someone else who knows something...

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

Firefox doesn't recognize

Firefox doesn't recognize environment variables.

Vintage!

Homepage yes, Bookmark no

Welcome to PortableApps.com, mpref.

You could set it as your local homepage (or as a part of a set of tabs as your homepage) and the PortableApps.com launcher will handle that for you. But you can't do it as a bookmark to my knowledge.

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