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. How to convert long file names to short file names

3. Converting Short File Names to Long File Names

4. Api function to convert Long File Names To Short Dos File Names

5. Getting short file name from long file name:

6. Get long file name from short file name

7. Long File Names and Short File Names

8. Get Short File Name from Long File Name?

9. Long file names to short file name

10. long file names to short file name

11. Long File Names and Short File Names

12. Short File Name to Long File Name

 

 
Powered by phpBB® Forum Software