The GW-Scripting list is a discussion list for information regarding the development and use of Window-Eyes scripts. Any subscriber of the GW-Scripting list has the ability to post on-topic messages.

From:

 Tom Kingston

Subject:

 Re: %appdata%

Date:

 Fri, Jul 9, 2010 4:13:55 pm
I'm not sure exactly what you're looking to do here, Jeff. But the
UserProfilePath property is a read only string.
ClientInformation.UserProfilePath will return exactly what you're showing
here.

Hth,
Tom

----- Original Message -----
From: "Jeff Weiss"
To:
Sent: Friday, July 09, 2010 3:43 PM
Subject: %appdata%


I want to use the "%appdata%" line in a vb script.

The following line does not seem to work.



userProfilePath = "%appdata%GW MicroWindow-Eyesusersdefault"



What am I missing here?

This line will work from the run command, but what do I have to do
differently in a VB script?

Thanks,

Jeff Weiss