How to change the directory for a debug log file?

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Hi,
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.txt


This 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

.



Relevant Pages

  • Re: Debug Messages
    ... anno4000@lublin.zrz.tu-berlin.de (Anno Siegel) writes: ... it can't be activated from the command line. ... > so you can easily make changes to all debugging output (such as directing it ... > to STDERR, or adding caller information). ...
    (comp.lang.perl.misc)
  • Re: lightweight internet browser
    ... and insults anyone that doesn't use the command line in Linux as their ... ''Sidney'' aka ''Tom Newton'' aka ''Alan Connor'' aka a string of other ... Take, for example, his stance on the command line: ... he claims it to be his preferred environment, ...
    (comp.os.linux.misc)
  • Re: NMAKE : fatal error U1073
    ... a lot info on "Build and Sysgen" command. ... \PUBLIC\* source tree (something what is already ... prebuilt when you install PB) and may fail in some ... but the genblt_cpu.lib file exist in Debug directory. ...
    (microsoft.public.windowsce.platbuilder)
  • Re: using grep to find IP address...
    ... > ip address (aka the last number after the period) so far ive been ... > using the command, i know all the ip address start with 192.168 ... Alternatively, specify either "." ... or a space char as the separator: ...
    (comp.unix.shell)
  • Re: rm -rf *.orig not working
    ... The rm command does not see the wildcard character, ... Jakub Fišer AKA mr@xxxxxxxxxxxx ... ICQ: I don't see kyou - http://icq.xmpp.cz/ ...
    (alt.os.linux)