INFO:
echo %PATH%
CLEAN:
-@erase ".\*.obj"
-@erase ".\*.exe"
</CODE>
I issue the following command on the CMD prompt
$> nmake /f try.mak INFO
<OUTPUT STREAM="STDOUT">
Microsoft (R) Program Maintenance Utility Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
echo %PATH
%PATH
</OUTPUT>
Can somebody point to me in the right direction ?
best regards
.
Sent via Deja.com http://www.deja.com/
Before you buy.
INFO:
echo %PATH%%
Don't know why. I stumbled over this myself some time ago.
It's interesting that this is not documented.
From MSDN:
# For example:
#
# PATH=$(PATH);\nonesuch
#
# all:
# echo %PATH%
#
# In this example, changing PATH changes the corresponding
# environment variable PATH; it appends \nonesuch to your path.
#
# If an environment variable is defined as a string that would
# be syntactically incorrect in a makefile, no macro is created
# and no warning is generated. If a variable's value contains a
# dollar sign ($), NMAKE interprets it as the beginning of a macro
# invocation. Using the macro can cause unexpected behavior.
--
Electron is a fierce god, tolerating neither Dionysos nor Aphrodite.