echo off
cls
echo          Windows NT 3.51 Lan Manager Upgrade Installation
echo          ------------------------------------------------
echo.
echo This script will install all the utilities to preform a 
echo Lan Manager 2.x to Windows NT Server version 3.51 upgrade 
echo based on the MIPS R4x00 processor.
echo. 
echo.
rem
rem If we don't have any params, show usage text
rem

if "%1"=="" goto usage

:start
echo If you have not already done so, it is recommended that you 
echo refer to the documentation to familiarize yourself with the 
echo features of the Windows NT 3.51 Lan Manager Upgrade product.
echo.
echo.
echo.
echo Press Ctrl-C to interrupt this script...or...
pause
echo.
echo.
echo Copying files ......

mkdir %1\upgrade

xcopy .\aclcomp.exe %1\upgrade\  1> NUL
xcopy .\acllist.exe %1\upgrade\  1> NUL
xcopy .\backacc.exe %1\upgrade\  1> NUL
xcopy .\backat.exe %1\upgrade\  1> NUL
xcopy .\backenv.exe %1\upgrade\  1> NUL
xcopy .\cleanup.exe %1\upgrade\  1> NUL
xcopy .\hcopy.exe %1\upgrade\  1> NUL
xcopy .\lmupmgr.exe %1\upgrade\  1> NUL
xcopy .\lmupmgr.inf %1\upgrade\  1> NUL
xcopy .\readme.txt %1\upgrade\  1> NUL 
xcopy .\restenv.exe %1\upgrade\  1> NUL
xcopy .\sfmconv.exe %1\upgrade\  1> NUL
xcopy .\userconv.exe %1\upgrade\  1> NUL
xcopy .\userconv.hlp %1\upgrade\  1> NUL
xcopy .\wntupmgr.exe %1\upgrade\  1> NUL
xcopy .\wntupmgr.exp %1\upgrade\  1> NUL
xcopy .\wntupmgr.hlp %1\upgrade\  1> NUL
xcopy .\wntupmgr.ini %1\upgrade\  1> NUL

goto done

:usage
echo Usage: SETUP [Install drive]
echo.
echo Example: SETUP D:
echo.
echo Installs the upgrade utilities into D:\UPGRADE.  
echo.
goto end

:done
echo.
echo.
echo Windows NT upgrade utility installation complete.
echo.


:end
