>Hi Guys..
>
>I want to know how to get the shortpath from a directory
>samples :
>
>fullpath folder = "temp/task activity"
>
>but i can i get the shortpath like in msdos (temp/taskac~1) mode..
>
>thanks...
>
>regards
>tut_arie
Another solution is to use the Windows Script Host's Scripting.FileSystem object
oFSO = CREATEOBJECT('Scripting.FileSystemObject')
oFile = oFSO.GetFile(lcfile)
? oFile.ShortPath
George
Ubi caritas et amor, deus ibi est