How to change working directory in Visual Studio

Updated post here: https://codeyarns.github.io/tech/2013-12-30-how-to-change-working-directory-in-visual-studio.html

5 thoughts on “How to change working directory in Visual Studio

  1. “Note that if you ran the executable from a commandline, then the working directory would be the directory containing the executable file.”

    Not necessarily. If the executable is located at C:\foo\bar\run.exe and you are standing in C:\foo and start the program by doing: bar/run then the working directory will be C:\foo.

    Like

Leave a Reply to Peter Cancel reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.