What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [Help] Full paths / short paths

[Help] Full paths / short paths
Author: Message:
matty
Scripting Guru
*****


Posts: 8336
Reputation: 109
39 / Male / Flag
Joined: Dec 2002
Status: Away
RE: [Help] Full paths / short paths
quote:
Originally posted by Eljay
wrong function matty :P

code:
function ConvertPath(sString){
    var MAX_PATH = 260;
    var sBuffer = Interop.Allocate(2*(MAX_PATH)+2);

    Interop.Call('kernel32', 'GetLongPathNameW', sString, sBuffer, MAX_PATH);
    return sBuffer.ReadString(0);
}

How he said it worked?
07-05-2006 05:45 PM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
[Help] Full paths / short paths - by alexp2_ad on 07-05-2006 at 04:55 PM
RE: [Help] Full paths / short paths - by matty on 07-05-2006 at 05:10 PM
RE: RE: [Help] Full paths / short paths - by alexp2_ad on 07-05-2006 at 05:13 PM
RE: [Help] Full paths / short paths - by matty on 07-05-2006 at 05:22 PM
RE: [Help] Full paths / short paths - by alexp2_ad on 07-05-2006 at 05:28 PM
RE: [Help] Full paths / short paths - by matty on 07-05-2006 at 05:31 PM
RE: [Help] Full paths / short paths - by alexp2_ad on 07-05-2006 at 05:34 PM
RE: [Help] Full paths / short paths - by matty on 07-05-2006 at 05:39 PM
RE: [Help] Full paths / short paths - by Eljay on 07-05-2006 at 05:42 PM
RE: [Help] Full paths / short paths - by alexp2_ad on 07-05-2006 at 05:45 PM
RE: [Help] Full paths / short paths - by matty on 07-05-2006 at 05:45 PM
RE: RE: [Help] Full paths / short paths - by alexp2_ad on 07-05-2006 at 05:46 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