Portable XY to reference relative paths

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
avsfan
Posts: 554
Joined: 29 Jun 2006 09:00
Location: Fort Collins, Colorado

Portable XY to reference relative paths

Post by avsfan »

Hi,

This should be simple, but I'm just not getting it...

I'm trying to set something up so that I can show a friend how great XY is, but he does almost all his work off of flash drives on different computers (which end up showing up as different drive letters on the different machines).

What I'm looking for is the ability to have XY on the flash drive, and have it start up with a few tabs open pointing to different paths on the flash drive (so that they'll always point to the desired location when he starts XY).

So far, it appears that only the absolute paths are remembered when XY is closed... I thought read somewhere that I could use a "?" in place of the drive letter in the address bar, but that didn't seem to work...

Sorry to be clueless on this... I didn't see anything in the wiki either...

Thanks for any suggestions!

serendipity
Posts: 3360
Joined: 07 May 2007 18:14
Location: NJ/NY

Post by serendipity »


avsfan
Posts: 554
Joined: 29 Jun 2006 09:00
Location: Fort Collins, Colorado

Post by avsfan »

Thanks for the reminder.

I tried this, and when I set up the first tab, I put "?:\XYlorer" in the address bar, which changed the tab title to the actual path (and, as a result, when I start up on a different machine, the path is not found).

The "?" trick says it will work in all locations, and *does* work in the address bar, but not in tab locations (or is there another way to specify the tab location?). Any additional thoughts?

Also, what would be required to get XY to automatically start when the flash drive is inserted?

Thanks!

admin
Site Admin
Posts: 66293
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Post by admin »

avsfan wrote:The "?" trick says it will work in all locations, and *does* work in the address bar, but not in tab locations (or is there another way to specify the tab location?). Any additional thoughts?
Hmmm, right, I never thought about making the tab locations portable. Would look funny to have all those "?:\..." in the captions... this needs more thinking.

Additional thought: Favorites Folders do store portable location terms. Also, of course, the Catalog and UDCs and Scripting.
avsfan wrote:Also, what would be required to get XY to automatically start when the flash drive is inserted?
Nothing that XY could do. Ask the flash drive. :)

avsfan
Posts: 554
Joined: 29 Jun 2006 09:00
Location: Fort Collins, Colorado

Post by avsfan »

admin wrote:
avsfan wrote:The "?" trick says it will work in all locations, and *does* work in the address bar, but not in tab locations (or is there another way to specify the tab location?). Any additional thoughts?
Hmmm, right, I never thought about making the tab locations portable. Would look funny to have all those "?:\..." in the captions... this needs more thinking.

Additional thought: Favorites Folders do store portable location terms. Also, of course, the Catalog and UDCs and Scripting.
I was just thinking about this related to scripting -- would it be possible to have an "autostart" or "startup" script that could be used for something like this? i.e. remove all tabs, then create portable tabs from the script... OK, maybe not such a good idea, but a startup script could be useful for other things...
admin wrote:
avsfan wrote:Also, what would be required to get XY to automatically start when the flash drive is inserted?
Nothing that XY could do. Ask the flash drive. :)
:) I'll see what I can find... I was hoping that there was something standard like an autorun that's used on a CD...

Thanks!
Last edited by avsfan on 07 Mar 2008 19:54, edited 1 time in total.

admin
Site Admin
Posts: 66293
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Post by admin »

avsfan wrote:"startup" script ...
Yes, I have thought about that as well. Later...

jacky
XYwiki Master
Posts: 3106
Joined: 23 Aug 2005 22:25
Location: France
Contact:

Post by jacky »

Side note: Maybe XY could support relative syntax on its startup path (command line & config). So one could ensure that XY always starts for example in the root or any folder of the drive it's running from (eg. USB, CD, etc)
Proud XYplorer Fanatic

Post Reply