My Documents Folder

bhlang
bhlang used Ask the Experts™
on
How can I find and save a file in the current user's My Documents folder if they are not using the root My Documents folder. Please provide answers for Windows 98, ME, 2000 and XP. If you use any APIs, please explain what they do.
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
you can use this to get the path

    Environ("UserProfile") & "\My Documents"

Environ is a standard VB function

Author

Commented:
Does what I need it to for now. Thanks everyone.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial