matty
Scripting Guru
Posts: 8336 Reputation: 109
39 / /
Joined: Dec 2002
Status: Away
|
RE: [Help] Full paths / short paths
quote: Originally posted by Eljay
wrong function matty
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?
|
|