Windows2003-3790/termsrv/admtools/appcmpt/uninst/uss97.cmd

18 lines
631 B
Batchfile
Raw Permalink Normal View History

2001-01-01 00:00:00 +01: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