[jawsscripts] Re: Generic paths to user folders

  • From: "Martin Slack" <m.g.slack@xxxxxxxxxxxx>
  • To: <jawsscripts@xxxxxxxxxxxxx>
  • Date: Thu, 6 Jan 2011 08:44:12 -0000

Hi Andre,

  Have you tried %USERNAME% as the username element in your proposed path? 
One way to test if you have this environment variable set on your own 
machine is to type:

echo %USERNAME%

at a command prompt and see what is printed in reply.

  hth

Martin


----- Original Message ----- 
From: "Andre Williams" <andre.williams.1965@xxxxxxxxx>
To: <jawsscripts@xxxxxxxxxxxxx>
Sent: Thursday, January 06, 2011 8:33 AM
Subject: [jawsscripts] Generic paths to user folders


> Does anyone know how I can create the path to a folder using a generic 
> user
> path? I want to find the path to:
> C:\Users\{UserName}\AppData\Roaming\Microsoft
> because I will have course not know what others use as their computer 
> names,
> I would like to find a generic path that will open this Microsoft folder.
> For example, if you type the following general path in the run dialogue 
> you
> will open the FS folder within the program files folder.
> %ProgramFiles%\Freedom Scientific\
> I'm using Windows7 64.
> Thanks
> Andre
>
> __________�
>
> View the list's information and change your settings at
> //www.freelists.org/list/jawsscripts
> 

__________�

View the list's information and change your settings at 
//www.freelists.org/list/jawsscripts

Other related posts: