Click to See Complete Forum and Search --> : Path to the User Directory


preetham
June 15th, 2002, 04:09 PM
Hi all:
In my program, i need the path to the directory of the current logged in user(documents and settings\userx). If stored in the reg, where can i locate it, or is there an environment variable to ge the values.
Thanx,
Preetham.

Kdr Kane
June 16th, 2002, 10:44 AM
%userprofile%

All you have to do is open a DOS prompt and type in "set".