mirror of https://github.com/tongzx/nt5src
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
46 lines
737 B
46 lines
737 B
@echo off
|
|
|
|
::
|
|
:: First we must test the OS.
|
|
:: NT provides command line extensions we need
|
|
::
|
|
if not "%OS%"=="Windows_NT" goto e_badplt
|
|
|
|
set IC_OLD_SYNCOPT=
|
|
set IC_ENLIST_ROOT=
|
|
set IC_ROOT=
|
|
set IC_DROP=
|
|
set IC_ALPHA_DROP=
|
|
set IC_BUILDSTATE=
|
|
set IC_BLDNUM_DIR=
|
|
set IC_DOT=
|
|
set IC_SENDSTR=
|
|
set IC_IMAGENAME=
|
|
set IC_NOSYNC=
|
|
set IC_SRCONLY=
|
|
set IC_REBUILD=
|
|
set IC_BUILD_FLAGS=
|
|
set BLDNUM=
|
|
title "R A Z Z L E"
|
|
|
|
::
|
|
:: Make sure we got them all
|
|
::
|
|
set IC_ > nul
|
|
rem work item...
|
|
|
|
echo Cleanup successful.
|
|
goto exit
|
|
|
|
:e_badplt
|
|
echo Windows NT is required for this batch file
|
|
goto exit
|
|
|
|
:e_fail
|
|
echo The environment cleaner batch file %0
|
|
echo failed to remove all IC_* variables.
|
|
echo Please refer to prop.bat and update this file.
|
|
|
|
:exit
|
|
echo:
|
|
|