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:

 Aaron Smith

Subject:

 Re: %appdata%

Date:

 Fri, Jul 9, 2010 4:58:11 pm
If you do decide you want to use some environment variable, take a
look at the Toolkit's Env method, which will expand a given environment
variable.

Aaron

On 7/9/2010 4:13 PM, Tom Kingston wrote:
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









--
Aaron Smith
Product Support Specialist * Web Development
GW Micro, Inc. * 725 Airport North Office Park, Fort Wayne, IN 46825
260-489-3671 * gwmicro.com

To insure that you receive proper support, please include all past
correspondence (where applicable), and any relevant information
pertinent to your situation when submitting a problem report to the GW
Micro Technical Support Team.