Source code of Windows XP (NT5)
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.

57 lines
1.5 KiB

  1. Rem
  2. Rem �p�G�ϥΪ̩|�������`�I�w�˵{���A
  3. Rem �ХߧY���楦�C
  4. Rem
  5. If Exist "%RootDrive%\Corel" Goto Skip1
  6. Rem ���ʦ��w��
  7. Rem �� Corel �����ɮשҦb�ϺШӨ��N #WPSINST#�C
  8. If Not Exist "#WPSINST#\Suite8\Corel WordPerfect Suite 8 Setup.lnk" Goto cont2
  9. #WPSINST#\Suite8\#WPSINSTCMD#
  10. Goto skip0
  11. :cont2
  12. ..\End.cmd
  13. :Skip0
  14. Cls
  15. Echo Corel �w�˵{���������A�Ы����N���~��...
  16. Pause > NUL:
  17. :Skip1
  18. Rem
  19. Rem �C�ӤH���|�����ۤv�� DOD.So �ƥ��C�R�� All Users �{�s�� DOD.So�C
  20. Rem
  21. If Not Exist "%COMMON_START_MENU%\Corel WordPerfect Suite 8" Goto Skip2
  22. If Exist "%USER_START_MENU%\Corel WordPerfect Suite 8" Goto Cont1
  23. Move "%COMMON_START_MENU%\Corel WordPerfect Suite 8" "%USER_START_MENU%\Corel WordPerfect Suite 8" > NUL: 2>&1
  24. Goto Skip2
  25. :Cont1
  26. Rd /S /Q "%COMMON_START_MENU%\Corel WordPerfect Suite 8"
  27. :Skip2
  28. If Not Exist "%COMMON_STARTUP%\Corel Desktop Application Director 8.LNK" Goto Skip3
  29. If Exist "%USER_STARTUP%\Corel Desktop Application Director 8.LNK" Goto Cont2
  30. Move "%COMMON_STARTUP%\Corel Desktop Application Director 8.LNK" "%USER_STARTUP%\" > NUL: 2>&1
  31. Goto Skip3
  32. :Cont2
  33. Del /F /Q "%COMMON_STARTUP%\Corel Desktop Application Director 8.LNK"
  34. :Skip3
  35. If Not Exist "%RootDrive%\Windows\Twain_32\Corel" Goto Skip4
  36. Rd /S /Q "%RootDrive%\Windows\Twain_32\Corel"
  37. :Skip4
  38. If Not Exist "%RootDrive%\Corel\Suite8\PhotoHse\PhotoHse.ini" Goto Skip5
  39. ..\Aciniupd /e "%RootDrive%\Corel\Suite8\PhotoHse\PhotoHse.ini" "Open File Dialog" "Initial Dir" "%RootDrive%\MyFiles"
  40. :Skip5