working directory

Aug 12, 2013 at 12:08pm
How do you fine/set your working directory on visual studios 2012 ?

Aug 12, 2013 at 12:52pm
closed account (28poGNh0)
Do you mean how to know your working directory using cpp code?
Aug 12, 2013 at 12:59pm
No i mean when you open a visual studio project , you are set a working directory inside the project folder normally! my working directory has moved and i want to know hwo to view what it is and change it
Aug 12, 2013 at 2:38pm
VS has several "working directories". Source, library, object, etc.

Easiest way to find the current source directory is to open your project properties and go to the C++ general tab. In the include directory field, click on the down arrow, an include directory popup will appear. Click on the macros button. You will see a list of various VS macros. Across from "InputDir" you will see the current input directory.
Topic archived. No new replies allowed.