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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. What's process current directory? [modified]

What's process current directory? [modified]

Scheduled Pinned Locked Moved C / C++ / MFC
questionhelp
3 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.
  • J Offline
    J Offline
    JackPuppy
    wrote on last edited by
    #1

    there is a directory containing the executable image file and there is another directory called "process current diretory" and every current diretory per process. Indeed, what is current directory and where is it? Any one can help me?

    modified on Saturday, March 7, 2009 3:37 AM

    G S 2 Replies Last reply
    0
    • J JackPuppy

      there is a directory containing the executable image file and there is another directory called "process current diretory" and every current diretory per process. Indeed, what is current directory and where is it? Any one can help me?

      modified on Saturday, March 7, 2009 3:37 AM

      G Offline
      G Offline
      Garth J Lancaster
      wrote on last edited by
      #2

      yeah, well, people use different terms to mean differnt things .. I think you mean :- http://msdn.microsoft.com/en-us/library/aa364934(VS.85).aspx[^] as opposed to http://msdn.microsoft.com/en-us/library/ms683197(VS.85).aspx[^] (directory containing the executable image file)

      1 Reply Last reply
      0
      • J JackPuppy

        there is a directory containing the executable image file and there is another directory called "process current diretory" and every current diretory per process. Indeed, what is current directory and where is it? Any one can help me?

        modified on Saturday, March 7, 2009 3:37 AM

        S Offline
        S Offline
        sashoalm
        wrote on last edited by
        #3

        basicly, it's what the command CD used to set when people used DOS so if you open the dos box and type:

        CD C:\mydir\
        "C:\WINDOWS\notepad.exe"

        notepad would have a current directory C:\mydir, not C:\WINDOWS but since in a GUI you can't explicitly change the current directory i'm not sure what use it has anymore

        There is sufficient light for those who desire to see, and there is sufficient darkness for those of a contrary disposition. Blaise Pascal

        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