@echo off echo OS: %OS% @IF %OS% == Windows_NT goto NT :WIN95 @goto END :NT @if exist "%SystemDrive%\Documents and Settings" goto WIN2000 @echo NT 4.0 Logon @echo Connecting F: drive to DASD Server... net use f: /delete net use f: \\hp-awddasd1\awdshare /persistent:no @echo Connecting N: drive to DASD Server... net use n: /delete net use n: \\hp-awddasd1\awdshare /persistent:no @echo Renaming hosts file... rename %sytemroot%\system32\drivers\etc\hosts hosts.old @echo ---IWS Updates Section--- @echo Updating HLLAPI Files... Copy \\hp-awddasd1\awdshare\IWSUpdat\Hllapi\hllapi.dll C:\AWDWIN\BIN Regedit /s \\hp-awddasd1\awdshare\IWSUpdat\Hllapi\hllapi32.reg if exist c:\awdview\vm.cfg copy \\hp-awddasd1\awdshare\AWDVmCfg\lcl_1522\Awdws\VM.CFG_port_7003 C:\awdview\vm.cfg if exist c:\awdview\vmcfg\awdws\vmcfg copy \\hp-awddasd1\awdshare\AWDVmCfg\lcl_1522\Awdws\VM.CFG_port_7003 C:\awdview\vmcfg\awdws\vm.cfg goto end :WIN2000 @echo Windows 2000 Logon @echo Connecting F: drive to DASD Server... net use f: /delete net use f: \\hp-awddasd1\awdshare /persistent:no @echo Connecting N: drive to DASD Server... net use n: /delete net use n: \\hp-awddasd1\awdshare /persistent:no @echo Renaming hosts file... rename %sytemroot%\system32\drivers\etc\hosts hosts.old @echo ---IWS Updates Section--- @echo Updating HLLAPI Files... Copy \\hp-awddasd1\awdshare\IWSUpdat\Hllapi\hllapi.dll C:\AWDWIN\BIN Regedit /s \\hp-awddasd1\awdshare\IWSUpdat\Hllapi\hllapi32.reg if exist c:\awdview\vm.cfg copy \\hp-awddasd1\awdshare\AWDVmCfg\lcl_1522\Awdws\VM.CFG_port_7003 C:\awdview\vm.cfg if exist c:\awdview\vmcfg\awdws\vmcfg copy \\hp-awddasd1\awdshare\AWDVmCfg\lcl_1522\Awdws\VM.CFG_port_7003 C:\awdview\vmcfg\awdws\vm.cfg :END