Find Path

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

How do I find the the complete path to the My Documents folder? My users
will have their My Documents folder in C:\Documents and Settings\xxxxx\My
Documents and I need to find the value of the xxxx for each user that opens
the application.

Thanks for your help
 
hi Rafi,
How do I find the the complete path to the My Documents folder? My users
will have their My Documents folder in C:\Documents and Settings\xxxxx\My
Documents and I need to find the value of the xxxx for each user that opens
the application.
You can use Environ("USERPROFILE"). The "C:\Documents and Settings\"
part of the profile path may be different for each user on one system.


mfG
--> stefan <--
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top