home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 8 Other / 08-Other.zip / dir24v30.zip / DIR24OS2.BAT < prev    next >
DOS Batch File  |  1994-11-07  |  1KB  |  42 lines

  1. @ECHO OFF
  2. ECHO Change directory to 24 hour format - Written by Affordable Computer Services
  3. ECHO.
  4. ECHO This batch file will back up COUNTRY.SYS to COUNTRY.OLD, then it will
  5. ECHO modify COUNTRY.SYS to change the time format from 12 to 24 hours.
  6. ECHO.
  7. ECHO Checking for COUNTRY.SYS . . .
  8. IF NOT EXIST \OS2\SYSTEM\COUNTRY.SYS GOTO NOCOUNTRY
  9. ECHO Checking for DEBUG.EXE . . .
  10. IF NOT EXIST \OS2\MDOS\DEBUG.EXE GOTO NODEBUG
  11. ECHO Checking operating system version . . .
  12. VER
  13. ECHO.
  14. ECHO If the above line does not say one of the following:
  15. ECHO.
  16. ECHO The Operating System/2 Version is 2.10
  17. ECHO The Operating System/2 Version is 2.11
  18. ECHO The Operating System/2 Version is 3.00
  19. ECHO.
  20. ECHO then press Ctrl-C now.
  21. PAUSE
  22. ECHO Copying COUNTRY.SYS to COUNTRY.OLD . . .
  23. COPY \OS2\SYSTEM\COUNTRY.SYS \OS2\SYSTEM\COUNTRY.OLD
  24. ECHO.
  25. ECHO Editing COUNTRY.SYS . . .
  26. DEBUG \OS2\SYSTEM\COUNTRY.SYS<DIR24OS2.SCR
  27. ECHO.
  28. ECHO Add the following line to CONFIG.SYS if it is not there:
  29. ECHO COUNTRY=001,[drive:]\OS2\SYSTEM\COUNTRY.SYS
  30. ECHO.
  31. ECHO Substitute [drive:] with the OS/2 boot drive.
  32. ECHO (example: COUNTRY=001,C:\OS2\SYSTEM\COUNTRY.SYS)
  33. ECHO.
  34. ECHO Upgrade complete, shutdown and reboot now for changes to take effect.
  35. ECHO.
  36. GOTO END
  37. :NOCOUNTRY
  38. ECHO \OS2\SYSTEM\COUNTRY.SYS is missing.
  39. GOTO END
  40. :NODEBUG
  41. ECHO \OS2\MDOS\DEBUG.EXE is missing.
  42. :END