CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Jun 2003
    Location
    Azerbaijan
    Posts
    74

    File name without extension.

    I have a full path to a file. How to determine the name of the file without the extension (and also without the path) by means of WINAPI functions library???

  2. #2
    Join Date
    Feb 2004
    Location
    Romania
    Posts
    57

    Talking _splitpath( path_buffer, drive, dir, fname, ext );

    That will do.

  3. #3
    Join Date
    May 2000
    Location
    KY, USA
    Posts
    18,652
    There exist several ways...for some examples take a look at the following FAQs:

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