Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. File List

File List

Scheduled Pinned Locked Moved C / C++ / MFC
c++question
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    Jonnster
    wrote on last edited by
    #1

    I need a MFC app which I can give a directory and it will create a list of all files within that directory and sub directories. From this list it will then check the last time each file was modified. What would be the best way of going about this? I think of several ways of doing it but would like an opinion on what other people think would be the best way forward. Thanks.

    E 1 Reply Last reply
    0
    • J Jonnster

      I need a MFC app which I can give a directory and it will create a list of all files within that directory and sub directories. From this list it will then check the last time each file was modified. What would be the best way of going about this? I think of several ways of doing it but would like an opinion on what other people think would be the best way forward. Thanks.

      E Offline
      E Offline
      elchupathingy
      wrote on last edited by
      #2

      FindFirstFile, FindNextFile, should do it quite easily. Just need to look at what you need to pass to it in terms of parameters. Or use CFileFind for straight MFC.

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups