Archive: Help Reqd for getting NT User Profile Folder


Help Reqd for getting NT User Profile Folder
Hello Everyone,

In NSIS, $PROFILE gets User Profile Folder (.\Documents and Settings\UserName) and this works on Win 2K and above. In NT it is not working. Can anyone help me to find a way to find User Profile Folder in NT. In VB, %SystemDir or something like this works. Can you help me ASAP.

Annasamy R


If this information is stored in an environment Variable than you use the command ReadEnvStr


Thanks flizebogen
Hi flizebogen,

Many Thanks for your inputs.. I did some changes according to your suggestion and it worked fine.