
Converting Long File Names to Short File Names
Use the File System Object's ShortName and ShortPath properties.
http://msdn.microsoft.com/scripting/VBScript/doc/vsproShortPath.htm
http://msdn.microsoft.com/scripting/vbscript/doc/vsproShortName.htm
: I have a .dll that does not support long file names/paths. I have a
: program I am trying to run from a script that is located in "program
: files" and the script needs the directory name to be "progra~1". Is
: there away to convert this automatically?
:
: Thanks,
:
: Jason Wolitzky
: