I want to generate a log file (e.g. output.txt) for debugging output.
I want it in my project's debug directory. I can generate the file but
not in the right place.
I open the project properties page and choose Debugging to get a
series of edit boxes, one is called Command Arguments.
I enter the following for Command Arguments:
output.txtThis creates the file in
C:\Program Files\Microsoft Visual Studio .NET 2003\Common7\IDE
aka $(DevEnvDir)
However, I want it in C:\Home\Coding\CPP\Project1\Debug
aka $(TargetDir). When I enter the Command Argument:
>$(TargetDir)\output.txt it doesn't work.Please would someone tell me what the correct Command Argument is to
get the output file where I want it.
Thanks,
Peithon