Announcement

Collapse
No announcement yet.

Long Filename from Short Filename?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Long Filename from Short Filename?

    I hope someone can help me out with this one. I know how to convert
    from a long filename to a short one, but how do you do it the other
    way around??? I tried the GetFullPathName API but that doesn't
    "expand" the short filename to the full Windows filename.

    (BTW, the heading to this message should have read, "Short Filename
    to Long Filename).


    ------------------
    Paul Squires
    mailto:[email protected][email protected]</A>

    [This message has been edited by Paul Squires (edited February 23, 2001).]
    Paul Squires
    FireFly Visual Designer (for PowerBASIC Windows 10+)
    Version 3 now available.
    http://www.planetsquires.com

  • #2
    Never mind!

    No sooner than I posted my plea for help did I stumble across
    a great function that does the conversion.

    It can be found at http://www.vb-world.net/files/tip511.html

    It worked perfectly.



    ------------------
    Paul Squires
    mailto:[email protected][email protected]</A>
    Paul Squires
    FireFly Visual Designer (for PowerBASIC Windows 10+)
    Version 3 now available.
    http://www.planetsquires.com

    Comment

    Working...
    X