Hi,
Just wondering if anyone can help me with a small problem.

I am wanting to insert an app.path into a variable (say it is "application" ) but I want it to use the dos names of that not the full names.

So what I mean is just say i do this:
Code:
application = app.path

msgbox application
That would return something like this:
"c:\Program Files\Application Folder"

but that is not what I want, I want it to return the dow names for the folders like this:
"c:\progra~1\applic~1"


Can anyone help me with this??

Thanks

-|- Hurgh -|-