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. Any sample code availble?

Any sample code availble?

Scheduled Pinned Locked Moved C / C++ / MFC
question
6 Posts 5 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.
  • K Offline
    K Offline
    krish_kumar
    wrote on last edited by
    #1

    Hii I wanna list all the files and folders of a particular drive. Any sample codes available...for MS Windows Give me a link to them... Thanking you :mad::mad::mad:

    C M C D 4 Replies Last reply
    0
    • K krish_kumar

      Hii I wanna list all the files and folders of a particular drive. Any sample codes available...for MS Windows Give me a link to them... Thanking you :mad::mad::mad:

      C Offline
      C Offline
      chandu004
      wrote on last edited by
      #2

      you can try with _findfirst and _findnext, call them in proper recursive function and achieve your task.

      -------------------------------------------- Suggestion to the members: Please prefix your main thread subject with [SOLVED] if it is solved. thanks. chandu.

      1 Reply Last reply
      0
      • K krish_kumar

        Hii I wanna list all the files and folders of a particular drive. Any sample codes available...for MS Windows Give me a link to them... Thanking you :mad::mad::mad:

        M Offline
        M Offline
        Mahesh Kulkarni
        wrote on last edited by
        #3

        Sample code for Iterating Directory[^]

        The secret of life is not enjoyment but education through experience. - Swami Vivekananda.

        1 Reply Last reply
        0
        • K krish_kumar

          Hii I wanna list all the files and folders of a particular drive. Any sample codes available...for MS Windows Give me a link to them... Thanking you :mad::mad::mad:

          C Offline
          C Offline
          CPallini
          wrote on last edited by
          #4

          krish_kumar wrote:

          Thanking you MadMadMad

          In a good mood, today? :rolleyes:

          If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
          This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
          [My articles]

          K 1 Reply Last reply
          0
          • C CPallini

            krish_kumar wrote:

            Thanking you MadMadMad

            In a good mood, today? :rolleyes:

            If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
            This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
            [My articles]

            K Offline
            K Offline
            krish_kumar
            wrote on last edited by
            #5

            Yaaa..... U can proceed.....

            1 Reply Last reply
            0
            • K krish_kumar

              Hii I wanna list all the files and folders of a particular drive. Any sample codes available...for MS Windows Give me a link to them... Thanking you :mad::mad::mad:

              D Offline
              D Offline
              David Crow
              wrote on last edited by
              #6

              See here.

              "Old age is like a bank account. You withdraw later in life what you have deposited along the way." - Unknown

              "Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons

              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