How to change the directory for a debug log file?
- From: Peithon <Peithon@xxxxxxxxxxxxxx>
- Date: Thu, 23 Aug 2007 02:45:44 -0700
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
.
- Follow-Ups:
- Re: How to change the directory for a debug log file?
- From: Alex Blekhman
- Re: How to change the directory for a debug log file?
- From: Ulrich Eckhardt
- Re: How to change the directory for a debug log file?
- Prev by Date: Re: Windows Live Mail Login screen
- Next by Date: Re: How to change the directory for a debug log file?
- Previous by thread: Re: Windows Live Mail Login screen
- Next by thread: Re: How to change the directory for a debug log file?
- Index(es):
Relevant Pages
|