I'm in a bit of a fix at the moment with an application I'm developing. Currently I am trying to get the program to run solely off of a USB flash drive. I want to achieve this because the computers at work don't have admin privileges to install Java. I have Java installed on my flash drive and I have my program on it as well. I would prefer to not have any CMD windows pop up because it looks really ugly. I would just like my GUI to appear but I'm running into the dumbest problem in the world. Relative paths. For some reason windows shortcuts will not allow relative paths and I can't find a way around it.
I have tried shortcuts, vbscript, and batch files. I really can't find a practical solution to this.
If anyone can offer any help, that'd be great, thanks!
EDIT: inb4 "Why do you need to do this? That's suspicious!, etc". I'm the IT guy and the program generates a nice little printer friendly table of system information in html.