What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Environment variables

Environment variables
Author: Message:
matty
Scripting Guru
*****


Posts: 8336
Reputation: 109
39 / Male / Flag
Joined: Dec 2002
Status: Away
RE: Environment variables
MSDN is your friend...

GetEnvironmentVariable
SetEnvironmentVariable

Or use the WMI Class Win32_Environment to enumerate them.

quote:
Originally posted by wincy
They are stored here:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders
Those are not environment variables; they are special folders that you can use SHGetFolderPath or SHGetKnownFolderPath

These are environment variables:
[Image: attachment.php?pid=951659]

.jpg File Attachment: enviro_var.jpg (36.23 KB)
This file has been downloaded 247 time(s).

This post was edited on 02-12-2009 at 07:39 PM by matty.
02-12-2009 07:34 PM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Environment variables - by wincy on 02-12-2009 at 07:10 PM
RE: Environment variables - by matty on 02-12-2009 at 07:34 PM
RE: Environment variables - by wincy on 02-12-2009 at 09:50 PM
RE: Environment variables - by matty on 02-12-2009 at 10:37 PM
RE: Environment variables - by wincy on 02-12-2009 at 10:59 PM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On