@echo off
rem
rem Get the name of the WINDOWS directory
rem
if "%WINDIR%"=="" goto NOWINDIR
rem
rem See if the netibmcc.inf file exists
rem
if NOT EXIST %WINDIR%\INF\NETIBMCC.INF goto NOFILE
rem
rem Rename the file
rem
if EXIST %WINDIR%\INF\NETIBMCC.ORG del %WINDIR%\INF\NETIBMCC.ORG
ren %WINDIR%\INF\NETIBMCC.INF NETIBMCC.ORG
echo %WINDIR%\INF\NETIBMCC.INF renamed to NETIBMCC.ORG
goto end
:NOFILE
echo fixibmcc: No NETIBMCC.INF file found in %WINDIR%\INF
goto end
:NOWINDIR
echo fixibmcc: No WINDIR environment variable was found
goto end
:end
