H@L0_F00 Posted August 15, 2009 Share Posted August 15, 2009 Ok, so I've got all these different apps on my flashdrive that I would like to make links to on the root of the device so I won't have to go through all the files that they're separated into. The problem is that my flash drive won't always have the same drive letter, which means a shortcut to the file "E:\apps\firefoxportable\firefoxportable.exe" won't always work on another system because the flash drive might show up as "F:" or something. I've googled for the longest time trying to find someway of making a shortcut that can take the current directory as a variable in the path to the file but I've found nothing. Using "." doesn't work, nor does changing target path to something like "apps\firefoxportable\firefoxportable.exe" when the link file is placed in the root of the drive. Has anybody else got any ideas about how I might be able to accomplish this? Thanks in advance Quote Link to comment Share on other sites More sharing options...
Netshroud Posted August 15, 2009 Share Posted August 15, 2009 The only thing I can think of is making the shortcut a batch script which calls the exe using relative paths and possibly %~dp0 Quote Link to comment Share on other sites More sharing options...
nicatronTg Posted August 15, 2009 Share Posted August 15, 2009 I just have a copy of PStart on my flash drive that I use to open all my portable apps. It comes in 2 varieties, portable and desktop, and both would be a good way to go mate. Quote Link to comment Share on other sites More sharing options...
Brian Sierakowski Posted August 15, 2009 Share Posted August 15, 2009 If you go into computer management and assign a lower level, your USB drive should always grab that same letter. IE, I changed my USB drive letter to "U:", and ever since then it shows up as U: on my computer (but auto assigns on others.) Give that a try and let us know if it works. Quote Link to comment Share on other sites More sharing options...
H@L0_F00 Posted August 15, 2009 Author Share Posted August 15, 2009 Yeah, I was thinking about either a batch file or assigning a constant drive letter, but most of the time I won't have access to cmd and the school computers use deepfreeze so any changes are wiped on reboot. Although I can easily get around both of these problems, I'd rather not have to do it to every single computer I need to use my flash drive on. I think I'll go with PStart Portable, it looks like exactly what I need. Thanks for the input. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.