Hello,
Does some one could tell me how could i convert a long path name to a short path name (8+3)
For exemple :
C:\MY DOCUMENTS\MY_EXEMPLE.DOC
=> C:\MYDOCU~1\MY_EXE~1.DOC
Thank you for your help.....
Printable View
Hello,
Does some one could tell me how could i convert a long path name to a short path name (8+3)
For exemple :
C:\MY DOCUMENTS\MY_EXEMPLE.DOC
=> C:\MYDOCU~1\MY_EXE~1.DOC
Thank you for your help.....
Code:Path = "C:\Windows\Desktop\MyFile.txt"
ShortPath = Right(Path, Len(Path) - InStrRev(Path, "\"))
Print ShortPath