Go Back   Winamp Forums > Developer Center > NSIS Discussion

Reply
Thread Tools Search this Thread Display Modes
Old 24th May 2004, 00:02   #1
Ferekikoo
Junior Member
 
Ferekikoo's Avatar
 
Join Date: Apr 2004
Location: Egypt
Posts: 35
Question 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...
Ferekikoo is offline   Reply With Quote
Old 24th May 2004, 06:04   #2
Davion
Senior Member
 
Join Date: Apr 2004
Location: Nuremberg, Germany
Posts: 130
Send a message via Yahoo to 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
Davion is offline   Reply With Quote
Old 24th May 2004, 22:14   #3
Ferekikoo
Junior Member
 
Ferekikoo's Avatar
 
Join Date: Apr 2004
Location: Egypt
Posts: 35
is there a single code to that (in all OS's)?
Ferekikoo is offline   Reply With Quote
Old 24th May 2004, 23:18   #4
deguix
Major Dude
 
deguix's Avatar
 
Join Date: Dec 2002
Location: Everett - MA, USA
Posts: 1,353
Send a message via ICQ to deguix
That's the code for all OS.

My Wiki Pages

Working now on:
New projects. (language: any)
deguix is offline   Reply With Quote
Old 24th May 2004, 23:27   #5
Ferekikoo
Junior Member
 
Ferekikoo's Avatar
 
Join Date: Apr 2004
Location: Egypt
Posts: 35
Thumbs up

thnx alot!
Ferekikoo is offline   Reply With Quote
Reply
Go Back   Winamp Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump