05-12-2005, 07:17 AM
dll kernel32 #GetShortPathName $lpszLongPath $lpszShortPath cchBuffer
dll kernel32 #GetLongPathName $lpszShortPath $lpszLongPath cchBuffer
str s.expandpath("$program files$\internet explorer\iexplore.exe")
str sshort.fix(GetShortPathName(s sshort.all(MAX_PATH) MAX_PATH))
out sshort
str slong.fix(GetLongPathName(sshort slong.all(MAX_PATH) MAX_PATH))
out slong