What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » How to obtain the Desktop path

How to obtain the Desktop path
Author: Message:
-dt-
Scripting Contest Winner
*****

Avatar
;o

Posts: 1819
Reputation: 74
36 / Male / Flag
Joined: Mar 2004
RE: How to obtain the Desktop path
you can also use this, and then you get access to everything listed here
http://msdn2.microsoft.com/en-us/library/ms649274.aspx
code:
function getSpecialDir( CSIDL){
    var szSendToPath = Interop.Allocate((255 *2) +2);
    Interop.Call("Shell32", "SHGetSpecialFolderPathW", 0, szSendToPath,  CSIDL, 0);
    return szSendToPath.ReadString(0);
}

[Image: dt2.0v2.png]      Happy Birthday, WDZ
08-09-2007 02:38 AM
Profile PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
How to obtain the Desktop path - by johny65 on 08-08-2007 at 11:27 PM
RE: How to obtain the Desktop path - by mondator on 08-08-2007 at 11:38 PM
RE: How to obtain the Desktop path - by markee on 08-08-2007 at 11:40 PM
RE: How to obtain the Desktop path - by -dt- on 08-09-2007 at 02:38 AM
RE: How to obtain the Desktop path - by johny65 on 09-10-2007 at 01:08 AM


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