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... 😁😁😁
How to get the All Users Directory
5 posts
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
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
is there a single code to that (in all OS's)? 🙄🙄🙄
That's the code for all OS.
thnx alot! 😉👍