msdtcvtr.bat,系统自带的一个脚本,位置:c:\windows\system32
(完整代码见附件)- @echo off
- rem *************** start of 'main'
- set DEBUG=0
- if "%DEBUG%"=="1" (set TRACE=echo) else (set TRACE=rem)
- rem Note that right now there is a bug in tracerpt.exe cause of which you might want to use tracefmt.exe instead.
- rem set the value 1 if you want to use tracefmt.exe instead
- set USE_TRACE_FMT=1
- %TRACE% The value of variable USE_TRACE_FMT is %USE_TRACE_FMT%
- .........
- .........
复制代码 对第三、四行不甚理解,不明白既然已经给DEBUG赋值为0,又为何在第四行判断?? |