Skip to content
⌘ NSIS Forum Archive

How to get the All Users Directory

5 posts

Ferekikoo#

How to get the All Users Directory

How to get the All User Folder?
"{OS Drive}:\WINDOWS\All Users" in Win9x,Me
and
"{OS Drive}:\Documents and Settings\All Users" in WinXP,2000... 😁😁😁
Davion#
there are two ways:

the first way is to "SetShellVarContext All"

and then use the VARs like $DESKTOP to put a File in the "All Users\Desktop" Directory

alternative you can read these Variables from the registry

"HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion" is a nice example where you find a few paths and settings

hope this helps 😉

Dave