Jump to content

Recommended Posts

Posted

Hello,

It's maybe a stupid question.. but ....

$var = EnvGet("PROGRAMFILES")

Run("$var\Internet Explorer\iexplore.exe")

does not work.

Why?

Thanks.

Posted

The reason it doesn't work is that instade a "" (quote) it is treated as a string, not a variable as you are trying to do.

$var = EnvGet("PROGRAMFILES")
Run($var&"\Internet Explorer\iexplore.exe")
oÝ÷ Ù.q©ÚÊ.±ëay«­¢+oj¸nW®+jab븧²×u«­¢+Ø)IÕ¸¡Aɽɵ¥±Í¥ÈµÀìÅÕ½ÐìÀäÈí%¹ÑɹÐáÁ±½ÉÈÀäÈí¥áÁ±½É¹áÅÕ½Ðì¤

It's all in the help file.

> there are 10 types of people in the world, those who understand binary and those who don't.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...