windows-nt/Source/XPSP1/NT/termsrv/admtools/appcmpt/uninst/uss97.cmd

18 lines
614 B
Batchfile
Raw Permalink Normal View History

2020-09-26 03:20:57 -05:00
@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