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. Managed C++/CLI
  4. using 'mkdir' for creating new directory

using 'mkdir' for creating new directory

Scheduled Pinned Locked Moved Managed C++/CLI
helptutorialquestion
6 Posts 3 Posters 5 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.
  • M Offline
    M Offline
    Member 9350237
    wrote on last edited by
    #1

    Hi Guys!, I'm developing program which receives name from user and create a new directory, then I've to a file with different name to that directory.. Idea is something like this: 1. Name of directory to be created : 2. Name of file : this file need to be saved to the created directory I came across the use of 'mkdir', but i dont know how to use it properly Can someone help me on this? Thank you

    L P 3 Replies Last reply
    0
    • M Member 9350237

      Hi Guys!, I'm developing program which receives name from user and create a new directory, then I've to a file with different name to that directory.. Idea is something like this: 1. Name of directory to be created : 2. Name of file : this file need to be saved to the created directory I came across the use of 'mkdir', but i dont know how to use it properly Can someone help me on this? Thank you

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      Check the documentation[^]. See also https://msdn.microsoft.com/en-us/library/windows/desktop/aa363872(v=vs.85).aspx[^].

      M 1 Reply Last reply
      0
      • M Member 9350237

        Hi Guys!, I'm developing program which receives name from user and create a new directory, then I've to a file with different name to that directory.. Idea is something like this: 1. Name of directory to be created : 2. Name of file : this file need to be saved to the created directory I came across the use of 'mkdir', but i dont know how to use it properly Can someone help me on this? Thank you

        P Offline
        P Offline
        PIEBALDconsult
        wrote on last edited by
        #3

        You can call MKDIR from your code, but it would render your code non-portable. http://www.tutorialspoint.com/c_standard_library/c_function_system.htm[^]

        1 Reply Last reply
        0
        • M Member 9350237

          Hi Guys!, I'm developing program which receives name from user and create a new directory, then I've to a file with different name to that directory.. Idea is something like this: 1. Name of directory to be created : 2. Name of file : this file need to be saved to the created directory I came across the use of 'mkdir', but i dont know how to use it properly Can someone help me on this? Thank you

          L Offline
          L Offline
          Lost User
          wrote on last edited by
          #4

          What does "mkdir" have to do with C++ managed or otherwise?

          You can lead a developer to CodeProject, but you can't make them think. The Theory of Gravity was invented for the sole purpose of distracting you from investigating the scientific fact that the Earth sucks.

          1 Reply Last reply
          0
          • L Lost User

            Check the documentation[^]. See also https://msdn.microsoft.com/en-us/library/windows/desktop/aa363872(v=vs.85).aspx[^].

            M Offline
            M Offline
            Member 9350237
            wrote on last edited by
            #5

            That helps!. Thank you so much :)

            L 1 Reply Last reply
            0
            • M Member 9350237

              That helps!. Thank you so much :)

              L Offline
              L Offline
              Lost User
              wrote on last edited by
              #6

              No problem. But please try and use the correct forum in future.

              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