Eljay
Elite Member
:O
Posts: 2949 Reputation: 77
– / / –
Joined: May 2004
|
RE: [Help] Full paths / short paths
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);
}
|
|