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