CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Mar 1999
    Posts
    2

    Using GetCurrentDirectory() and SetCurrentDirectory() can't get Long pathname and Long filename,How



    Using GetCurrentDirectory() and SetCurrentDirectory() can't get Long pathname and Long filename,How to convert short name to long?

  2. #2
    Join Date
    Apr 1999
    Posts
    383

    Re: Using GetCurrentDirectory() and SetCurrentDirectory() can't get Long pathname and Long filename,



    Try GetFullPathName which should return the full file name and path given the short name. Use PathFindFileName or _splitpath to get the file name.


    Dave

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

Featured