Converting Long File Names to Short File Names 
Author Message
 Converting Long File Names to Short File Names

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

  jwolitzk.vcf
< 1K Download


Fri, 30 Aug 2002 03:00:00 GMT  
 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
:



Fri, 30 Aug 2002 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Converting Long File Names to Short File Names

2. Converting Short File Names to Long File Names

3. Getting short file name from long file name:

4. Converting Paths having short name to long versions

5. Long File Names in ASP ... Convert with VBScript to Short File Names

6. Converting long file names to DOS format

7. Long names from short.

8. registry %1 argument and short/long path names

9. Unzip a zip file to preserve long file name

10. Get Short File Name in VBScript

11. WSH Run does recognizes only short DOS convention file path names

12. using long file names?

 

 
Powered by phpBB® Forum Software