Page 1 of 1

[Need help] ::goto "Desktop" running to error.

Posted: 27 Jul 2015 09:58
by Michael Lu
I'm leaning the script tour. When I ran ::goto "Desktop"; in the address bar I had an error msg.
xy_err.jpg

Re: [Need help] ::goto "Desktop" running to error.

Posted: 27 Jul 2015 10:01
by admin
You should either use the real name of it (in Chinese), or use this variable:

Code: Select all

::goto "%desktop%";

Re: [Need help] ::goto "Desktop" running to error.

Posted: 27 Jul 2015 10:03
by highend
You're trying to go to a folder that is represented by an environment variable.

Code: Select all

::goto "%Desktop%";

Re: [Need help] ::goto "Desktop" running to error.

Posted: 27 Jul 2015 10:08
by Michael Lu
Oh I see. I'm stupid.