Thanks, Bill. I have already recoded my application!!! Jan
----- Original Message ----- From: "Bill Downall" <[EMAIL PROTECTED]> To: "RBG7-L Mailing List" <[email protected]> Sent: Thursday, February 24, 2005 10:35 AM Subject: [RBG7-L] - Re: Capturing the path of My Documents > Jan, > > And just to be sure you know, (which you probably do), if it shows up in > the command prompt SET command, you can capture it with the ENVAL() > function: > > SET VAR vHomePath = (ENVVAL('HOMEPATH')) > > Bill > > > > Jan Barley wrote: > > Bob, > > Many thanks!!! I did not know how to access the Windows settings - this is > > exactly what I needed!!!!! > > > > Jan > > > > ----- Original Message ----- > > From: "Bob Taylor" <[EMAIL PROTECTED]> > > To: "RBG7-L Mailing List" <[email protected]> > > Sent: Thursday, February 24, 2005 8:54 AM > > Subject: [RBG7-L] - Re: Capturing the path of My Documents > > > > > > > >>What about capturing the values of the Windows environment variables > >>HOMEDRIVE, HOMEPATH, or USERPROFILE? > >> > >>To see what I mean, go to a Windows command window and run "set" > >> > >>Bob > >> > >>Jan Barley wrote: > >> > >> > >>>Hey all! > >>>I read with great interest Emmitt's program to check for a Network > >>>folder, but I have a further challenge. Is there a way to determine > >>>the user's default My Documents directory? Chkfile will not check > >>>subdirectories, so I cannot capture the value of the full directory > >>>path to My Documents. Just trying to make things simpler for my users > >>>- having the Save to default to their Documents directory so they > >>>won't have to search for it, or heaven forbid, make 2 extra mouse > >>>clicks!!! > >>>Thanks for any input!!! > >>> > >>>Jan Barley > >> > >> > > > > > >
