Environment Variables in Runlink

Post Reply
steyen
New user
Posts: 7
Joined: Fri Jun 05, 2009 3:57 pm

Environment Variables in Runlink

Post by steyen » Wed Jul 15, 2009 11:00 pm

Hello Sticky Password,

is there a way to support system environment variables to run applications?

I ask because i set a variable to the root of my usb stick, where i start my SP4 and all my application like filezilla and others as well. so when the variable will be used i can my applications with the run link.
For now i tested it and i wont do the job.

Thanks for your answers

Steyen

p.s. maybe relative paths will do the job as well, if they where easier to implement.

ondrej.novak
Sticky Password Guru
Posts: 1716
Joined: Wed Apr 29, 2009 10:39 am
Location: Czech Republic
Contact:

Re: Environment Variables in Runlink

Post by ondrej.novak » Fri Jul 17, 2009 3:36 pm

Hello Steyen

Could you send me an example of the variables you need?

Thank you.
Ondrej Novak
Sticky Password Team

ImageImageImageImageImage

steyen
New user
Posts: 7
Joined: Fri Jun 05, 2009 3:57 pm

Re: Environment Variables in Runlink

Post by steyen » Fri Jul 17, 2009 4:30 pm

Hello Ondrej,

thanks for your interest. The Example is quite simple, all i need is the functionality within the RunLink of Applications to support variables like %WINDIR% or %SYSTEM% like they do the job in each command box (CMD).
When i plug in my USB-Stick, then i register a variable like the above where the value is the root of my stick, so i am able to use this from other programs to open applications .
The other way with the relative paths is, i think the operating path of Portable Sticky Password is the USB-Drive (i think so). And then i can navigate with relative paths from there to my application from the stick like the scenario below:
Sticky Password is started from USB (f:\) so the working directory is f\:Sticky Password .
Now i want to save as RunLink the relative Path from the working directory to my Application i.e. Filezilla.
RunLink: .\..\PortableApps\Internet\FileZilla\filezilla.exe

I hope my english is not to bad, so you understand what i tried to tell you.

Thanks for your effort

Steyen

BuBBy
New user
Posts: 6
Joined: Sat Jul 18, 2009 8:32 am

Re: Environment Variables in Runlink

Post by BuBBy » Sat Jul 18, 2009 8:45 am

Ondrej - it's probably not a matter of "which environment variables you need" - because there are a lot of them - and then there are ones the user defines for their own purpose. Best just to evaluate these expressions when and where they come up.

For example here is a list of some that Microsoft are using at the moment - and no doubt the list will continue to grow as the need arrives.

http://technet.microsoft.com/en-us/libr ... 10%29.aspx

ondrej.novak
Sticky Password Guru
Posts: 1716
Joined: Wed Apr 29, 2009 10:39 am
Location: Czech Republic
Contact:

Re: Environment Variables in Runlink

Post by ondrej.novak » Mon Jul 20, 2009 12:34 pm

Hello

We´re working on this issue and we´ll try to add it in the next version.
Ondrej Novak
Sticky Password Team

ImageImageImageImageImage

steyen
New user
Posts: 7
Joined: Fri Jun 05, 2009 3:57 pm

Re: Environment Variables in Runlink

Post by steyen » Wed Jul 22, 2009 8:03 pm

Thanks for your effort, this option would be very nice for all users which start multiple software from they 're usb stick.

Best Regards
Steyen

Post Reply

Return to “Suggestions and Feature Requests”

Who is online

Users browsing this forum: No registered users and 0 guests