I got a reply for my queston earlier. What I want is a VB command or a API which will convert the paths such as "program files" or "program test" in to "progra~1" and "progra~2" etc. or if you can surggest a command which will send the DOS path would be ine.

Thank you

Vinodh