Results 1 to 2 of 2

Thread: Convert short file name to long file name

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Jan 2001
    Posts
    19

    Question Convert short file name to long file name

    Hello,

    I would like to translate a short file name (8+3) into a long path name.

    For example : TESTFILENAME.EXE is the long file name
    TESTFI~1.EXE is the short one.

    I know how to pass from long to short with the GetShortPathNameA API in Kernel32, but what is the reverse function call ???

    Thank you...

    Pascal

  2. #2
    Addicted Member VB6Coder's Avatar
    Join Date
    Apr 2001
    Location
    Northampton, UK
    Posts
    185

    Smile

    There is an article on MSDN which tells you how to do it.

    Here is the hyper link:
    http://support.microsoft.com/support...n_SRCH&SPR=VBB

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width