diff options
Diffstat (limited to 'public/tools/ntlog.cmd')
-rw-r--r-- | public/tools/ntlog.cmd | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/public/tools/ntlog.cmd b/public/tools/ntlog.cmd new file mode 100644 index 000000000..dcbe27ab4 --- /dev/null +++ b/public/tools/ntlog.cmd @@ -0,0 +1,27 @@ +@if "%_echo%"=="" echo off +setlocal +if "%_NTLOGLOG%" == "" set _NTLOGLOG=\nt\ntlog.log +if "%1" == "all" goto logall +if NOT "%1" == "" goto doprojects +if "%NTPROJECTS%" == "" goto noprojs +erase %_NTLOGLOG% 2>nul +call %0 %NTPROJECTS% +goto done +:logall +erase %_NTLOGLOG% 2>nul +call %0 %NTPROJECTS% %NTPROJECTS_EXTRA% +goto done +:noprojs +echo Must define NTPROJECTS environment variable to use this command without arguments +goto done +:doprojects +set _ntgetargs_= +:loop +if "%1" == "" goto loopexit +set _ntgetargs_=%_ntgetargs_% %1 +shift +goto loop +:loopexit +call ntslmop log %_ntgetargs_% +:done +endlocal |