Results 1 to 8 of 8

Thread: [RESOLVED] Retrieve the name of the last folder in a path

Threaded View

  1. #1

    Thread Starter
    PowerPoster Nightwalker83's Avatar
    Join Date
    Dec 2001
    Location
    Adelaide, Australia
    Posts
    13,344

    Resolved [RESOLVED] Retrieve the name of the last folder in a path

    Hi,

    How would I retrieve the name of the last folder in a path if the last folder changes?

    Simply put I have a path:

    GetSpecialFolder(CSIDL_LOCAL_APPDATA) & "\Rockstar Games\GTA IV\savegames\" and want to retrieve the filename of the folder/s in the savegames folder automatically.

    I have tried this although, it only seems to work with a static path.

    Thanks,


    Nightwalker
    Last edited by Nightwalker83; May 19th, 2011 at 10:41 PM. Reason: Not resolved
    when you quote a post could you please do it via the "Reply With Quote" button or if it multiple post click the "''+" button then "Reply With Quote" button.
    If this thread is finished with please mark it "Resolved" by selecting "Mark thread resolved" from the "Thread tools" drop-down menu.
    https://get.cryptobrowser.site/30/4111672

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