Leaked source code of windows server 2003
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
631 B

  1. @Echo Off
  2. Call "%SystemRoot%\Application Compatibility Scripts\SetPaths.Cmd"
  3. If "%_SETPATHS%" == "FAIL" Goto Skip1
  4. If Not Exist "%COMMON_STARTUP%\SS97Usr.Cmd" Goto Skip1
  5. Copy "%COMMON_STARTUP%\SS97Usr.Cmd" "%SystemRoot%\Application Compatibility Scripts\Logon" >NUL 2>&1
  6. Del "%COMMON_STARTUP%\SS97Usr.Cmd" >NUL 2>&1
  7. :Skip1
  8. Copy %SystemRoot%\System32\UsrLogn2.Cmd %SystemRoot%\System32\UsrLogn2.Bak >Nul: 2>&1
  9. FindStr /VI SS97Usr %SystemRoot%\System32\UsrLogn2.Bak > %SystemRoot%\System32\UsrLogn2.Cmd
  10. Del "%SystemRoot%\System32\UsrLogn2.Bak" >NUL 2>&1
  11. Echo Lotus SmartSuite 97 logon script uninstalled.
  12. :Done