 >> RootDrv2.Cmd
Echo REM   NotePad to continue running the application compatibility script. >> RootDrv2.Cmd
Echo REM >> RootDrv2.Cmd
Echo. >> RootDrv2.Cmd
Echo Set RootDrive=>> RootDrv2.Cmd
Echo. >> RootDrv2.Cmd

NotePad RootDrv2.Cmd

Call RootDrv.Cmd
If Not "A%ROOTDRIVE%A" == "AA" Goto Cont1

Echo.
Echo     Before running this application compatibility script, you must
Echo     designate a drive letter to be mapped to each user's home
Echo     directory.
Echo.
Echo     Script terminated.
Echo.
Pause

Set _CHKROOT=FAIL
Goto Cont3


:Cont1

Rem
Rem  Invoke the User Logon script to map the root drive now so it
Rem  can be used to install applications.
Rem 

Call "%SystemRoot%\System32\UsrLogon.Cmd


:Cont2

Rem  Set the RootDrive key in the registry

echo HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Terminal Server > chkroot.key
echo     RootDrive = REG_SZ %ROOTDRIVE%>> chkroot.key

regini chkroot.key > Nul: 


:Cont3

Cd "%SystemRoot%\Application Compatibility Scripts\Install"
