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. Directory Information

Directory Information

Scheduled Pinned Locked Moved C / C++ / MFC
tutorialquestion
4 Posts 3 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.
  • I Offline
    I Offline
    IceBerG71
    wrote on last edited by
    #1

    Anyone know how to get the creation date of a Directory? I need the information for backing up of files in a process. For example a week backup, so after a week, the previous backup shall be erased off Thanx

    V 1 Reply Last reply
    0
    • I IceBerG71

      Anyone know how to get the creation date of a Directory? I need the information for backing up of files in a process. For example a week backup, so after a week, the previous backup shall be erased off Thanx

      V Offline
      V Offline
      valikac
      wrote on last edited by
      #2

      One possible solution is GetFileAttributes(). Kuphryn

      I 1 Reply Last reply
      0
      • V valikac

        One possible solution is GetFileAttributes(). Kuphryn

        I Offline
        I Offline
        IceBerG71
        wrote on last edited by
        #3

        This API only tells me if it is a directory or not. what i need is the date the directory is created etc...like File attributes.. is it possible on directory as well? Thanx

        J 1 Reply Last reply
        0
        • I IceBerG71

          This API only tells me if it is a directory or not. what i need is the date the directory is created etc...like File attributes.. is it possible on directory as well? Thanx

          J Offline
          J Offline
          Joe Woodbury
          wrote on last edited by
          #4

          Try GetFileAttributesEx() Anyone who thinks he has a better idea of what's good for people than people do is a swine. - P.J. O'Rourke

          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