Short Filename to Long Filename ??? 
Author Message
 Short Filename to Long Filename ???

I know that we can use GetShortPathName API to retrieve the short
filename for a given long filename but is there anyway to retrieve the
long filename from a given short filename?? Please advise. Reply or cc a

                   ______________________________________________________
    ____   _____                                                        
   / __ ) / ___/  TAN TZE YONG
  / __  | \__ \  NGEE ANN POLYTECHNIC

/_____/ /____/ WEB: http://www.*-*-*.com/
              __________________________________________________________
"It is in your moments of decision that your destiny is shaped"
 - Anthony Robbins



Sun, 09 Apr 2000 03:00:00 GMT  
 Short Filename to Long Filename ???



Quote:

> I know that we can use GetShortPathName API to retrieve the short
> filename for a given long filename but is there anyway to retrieve the
> long filename from a given short filename?? Please advise. Reply or cc a


Try using Dir$(shortname)
You may need to pull apart the various directory names if you are doing a
full path and do each one individually.


Sun, 09 Apr 2000 03:00:00 GMT  
 Short Filename to Long Filename ???

Quote:
>I know that we can use GetShortPathName API to retrieve the short
>filename for a given long filename but is there anyway to retrieve the
>long filename from a given short filename?? Please advise. Reply or cc a


   longname = Dir(shortname, 31)

-- Roger

-------------------------------
No list server? Manage an interactive mailing list
on your PC with Arrow! http://www.jadebox.com/arrow/



Sun, 09 Apr 2000 03:00:00 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. SHORT filename to LONG filename???

2. SHORT filename to LONG filename???

3. Short filename to long filename

4. Long Filename -> Short Filename

5. Convert long filenames to short filenames

6. Convert Long Filenames to Short Filenames in VB4 16-Bit

7. Converting long filenames to short filenames in VB4.0 16-bit

8. Need to get the short filename from a long filename

9. Converting a Long FIleName to it's short equivalent (Both possible shorts)

10. Q: SendTo and short/long filenames?

11. Converting a Long Filename to Short.?

12. Long filenames VS short

 

 
Powered by phpBB® Forum Software