Since I'm trying to create a portable workstation on my USB stick, I'm running into this issue.
I need a way to create a shortcut that will launch my launchers. Let me explain. I'm going to use FARR and LBC as my portable application launchers. However, when I first insert my USB stick, I'd like to be able to immediately launch those two from the root directory, even though their program files are elsewhere on the drive. So, I need the shortcut to be able to handle relative paths, which Windows can't do. Now, FARR and LBC can both handle relative paths, so that's not the problem. That's why I say I need a shortcut to launch those launcher programs.
Anyway, I found this article:
http://www.freewaregenius.com/2008/07/24/how-to-create-shortcuts-with-a-relative-path-for-use-on-usb-drives/
And it works great, except for one thing: The DOS window that pops up (because it's a bat file) won't close until the program it launches closes. Not a big problem, but annoying.
So is there an alternative solution anyone can think of? Maybe using an AHK script or something like that? Or is there a program that already does things like this?
I need a way to create a shortcut that will launch my launchers. Let me explain. I'm going to use FARR and LBC as my portable application launchers. However, when I first insert my USB stick, I'd like to be able to immediately launch those two from the root directory, even though their program files are elsewhere on the drive. So, I need the shortcut to be able to handle relative paths, which Windows can't do. Now, FARR and LBC can both handle relative paths, so that's not the problem. That's why I say I need a shortcut to launch those launcher programs.
Anyway, I found this article:
http://www.freewaregenius.com/2008/07/24/how-to-create-shortcuts-with-a-relative-path-for-use-on-usb-drives/
And it works great, except for one thing: The DOS window that pops up (because it's a bat file) won't close until the program it launches closes. Not a big problem, but annoying.
So is there an alternative solution anyone can think of? Maybe using an AHK script or something like that? Or is there a program that already does things like this?

















