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. How to get the sub folder name of particular folder?

How to get the sub folder name of particular folder?

Scheduled Pinned Locked Moved C / C++ / MFC
helptutorialquestion
9 Posts 4 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.
  • A Offline
    A Offline
    AnithaSubramani
    wrote on last edited by
    #1

    Hi All, I need to get the sub folder name of particular folder. How to do this? Pls help me....... Thanks & Regards, Anitha

    T _ 2 Replies Last reply
    0
    • A AnithaSubramani

      Hi All, I need to get the sub folder name of particular folder. How to do this? Pls help me....... Thanks & Regards, Anitha

      T Offline
      T Offline
      ThatsAlok
      wrote on last edited by
      #2

      check reference of CFileFind mfc class

      "Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
      Never mind - my own stupidity is the source of every "problem" - Mixture

      cheers, Alok Gupta VC Forum Q&A :- I/IV Support CRY- Child Relief and You

      1 Reply Last reply
      0
      • A AnithaSubramani

        Hi All, I need to get the sub folder name of particular folder. How to do this? Pls help me....... Thanks & Regards, Anitha

        _ Offline
        _ Offline
        _AnsHUMAN_
        wrote on last edited by
        #3

        Use FindFirstFile and FindNextFile along with WIN32_FIND_DATA. This data structure can be used to determine whether the item into consideration is a folder or a file.

        You need to google first, if you have "It's urgent please" mentioned in your question. ;-)_AnShUmAn_

        T 1 Reply Last reply
        0
        • _ _AnsHUMAN_

          Use FindFirstFile and FindNextFile along with WIN32_FIND_DATA. This data structure can be used to determine whether the item into consideration is a folder or a file.

          You need to google first, if you have "It's urgent please" mentioned in your question. ;-)_AnShUmAn_

          T Offline
          T Offline
          ThatsAlok
          wrote on last edited by
          #4

          PostFirst battle start again! :-D

          "Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
          Never mind - my own stupidity is the source of every "problem" - Mixture

          cheers, Alok Gupta VC Forum Q&A :- I/IV Support CRY- Child Relief and You

          E _ 2 Replies Last reply
          0
          • T ThatsAlok

            PostFirst battle start again! :-D

            "Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
            Never mind - my own stupidity is the source of every "problem" - Mixture

            cheers, Alok Gupta VC Forum Q&A :- I/IV Support CRY- Child Relief and You

            E Offline
            E Offline
            Eytukan
            wrote on last edited by
            #5

            Welcome back :beer:. Hope you continue the stay :)

            He never answers anyone who replies to him. I've taken to calling him a retard, which is not fair to retards everywhere.-Christian Graus

            T 1 Reply Last reply
            0
            • E Eytukan

              Welcome back :beer:. Hope you continue the stay :)

              He never answers anyone who replies to him. I've taken to calling him a retard, which is not fair to retards everywhere.-Christian Graus

              T Offline
              T Offline
              ThatsAlok
              wrote on last edited by
              #6

              off course! hoping to long stay this time!

              "Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
              Never mind - my own stupidity is the source of every "problem" - Mixture

              cheers, Alok Gupta VC Forum Q&A :- I/IV Support CRY- Child Relief and You

              E 1 Reply Last reply
              0
              • T ThatsAlok

                off course! hoping to long stay this time!

                "Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
                Never mind - my own stupidity is the source of every "problem" - Mixture

                cheers, Alok Gupta VC Forum Q&A :- I/IV Support CRY- Child Relief and You

                E Offline
                E Offline
                Eytukan
                wrote on last edited by
                #7

                Feels like a C++ forum reunion. :D :beer:

                He never answers anyone who replies to him. I've taken to calling him a retard, which is not fair to retards everywhere.-Christian Graus

                T 1 Reply Last reply
                0
                • E Eytukan

                  Feels like a C++ forum reunion. :D :beer:

                  He never answers anyone who replies to him. I've taken to calling him a retard, which is not fair to retards everywhere.-Christian Graus

                  T Offline
                  T Offline
                  ThatsAlok
                  wrote on last edited by
                  #8

                  VuNic wrote:

                  Feels like a C++ forum reunion.

                  soon

                  "Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
                  Never mind - my own stupidity is the source of every "problem" - Mixture

                  cheers, Alok Gupta VC Forum Q&A :- I/IV Support CRY- Child Relief and You

                  1 Reply Last reply
                  0
                  • T ThatsAlok

                    PostFirst battle start again! :-D

                    "Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
                    Never mind - my own stupidity is the source of every "problem" - Mixture

                    cheers, Alok Gupta VC Forum Q&A :- I/IV Support CRY- Child Relief and You

                    _ Offline
                    _ Offline
                    _AnsHUMAN_
                    wrote on last edited by
                    #9

                    ;) Yeah! Seems so!

                    You need to google first, if you have "It's urgent please" mentioned in your question. ;-)_AnShUmAn_

                    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