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.
17 lines
614 B
17 lines
614 B
@Echo Off
|
|
|
|
Call "%SystemRoot%\Application Compatibility Scripts\SetPaths.Cmd"
|
|
If "%_SETPATHS%" == "FAIL" Goto Skip1
|
|
|
|
If Not Exist "%COMMON_STARTUP%\SS97Usr.Cmd" Goto Skip1
|
|
Copy "%COMMON_STARTUP%\SS97Usr.Cmd" "%SystemRoot%\Application Compatibility Scripts\Logon" >NUL 2>&1
|
|
Del "%COMMON_STARTUP%\SS97Usr.Cmd" >NUL 2>&1
|
|
|
|
:Skip1
|
|
Copy %SystemRoot%\System32\UsrLogn2.Cmd %SystemRoot%\System32\UsrLogn2.Bak >Nul: 2>&1
|
|
FindStr /VI SS97Usr %SystemRoot%\System32\UsrLogn2.Bak > %SystemRoot%\System32\UsrLogn2.Cmd
|
|
Del "%SystemRoot%\System32\UsrLogn2.Bak" >NUL 2>&1
|
|
|
|
Echo Lotus SmartSuite 97 logon script uninstalled.
|
|
|
|
:Done
|