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

Discuss and share scripts and script files...
Post Reply
Michael Lu
Posts: 158
Joined: 24 Jan 2013 14:26

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

Post 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
To see the attached files, you need to log into the forum.

admin
Site Admin
Posts: 66256
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

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

Post by admin »

You should either use the real name of it (in Chinese), or use this variable:

Code: Select all

::goto "%desktop%";

highend
Posts: 14940
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

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

Post by highend »

You're trying to go to a folder that is represented by an environment variable.

Code: Select all

::goto "%Desktop%";
One of my scripts helped you out? Please donate via Paypal

Michael Lu
Posts: 158
Joined: 24 Jan 2013 14:26

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

Post by Michael Lu »

Oh I see. I'm stupid.

Post Reply