home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 8 Other
/
08-Other.zip
/
dir24v30.zip
/
DIR24OS2.BAT
< prev
next >
Wrap
DOS Batch File
|
1994-11-07
|
1KB
|
42 lines
@ECHO OFF
ECHO Change directory to 24 hour format - Written by Affordable Computer Services
ECHO.
ECHO This batch file will back up COUNTRY.SYS to COUNTRY.OLD, then it will
ECHO modify COUNTRY.SYS to change the time format from 12 to 24 hours.
ECHO.
ECHO Checking for COUNTRY.SYS . . .
IF NOT EXIST \OS2\SYSTEM\COUNTRY.SYS GOTO NOCOUNTRY
ECHO Checking for DEBUG.EXE . . .
IF NOT EXIST \OS2\MDOS\DEBUG.EXE GOTO NODEBUG
ECHO Checking operating system version . . .
VER
ECHO.
ECHO If the above line does not say one of the following:
ECHO.
ECHO The Operating System/2 Version is 2.10
ECHO The Operating System/2 Version is 2.11
ECHO The Operating System/2 Version is 3.00
ECHO.
ECHO then press Ctrl-C now.
PAUSE
ECHO Copying COUNTRY.SYS to COUNTRY.OLD . . .
COPY \OS2\SYSTEM\COUNTRY.SYS \OS2\SYSTEM\COUNTRY.OLD
ECHO.
ECHO Editing COUNTRY.SYS . . .
DEBUG \OS2\SYSTEM\COUNTRY.SYS<DIR24OS2.SCR
ECHO.
ECHO Add the following line to CONFIG.SYS if it is not there:
ECHO COUNTRY=001,[drive:]\OS2\SYSTEM\COUNTRY.SYS
ECHO.
ECHO Substitute [drive:] with the OS/2 boot drive.
ECHO (example: COUNTRY=001,C:\OS2\SYSTEM\COUNTRY.SYS)
ECHO.
ECHO Upgrade complete, shutdown and reboot now for changes to take effect.
ECHO.
GOTO END
:NOCOUNTRY
ECHO \OS2\SYSTEM\COUNTRY.SYS is missing.
GOTO END
:NODEBUG
ECHO \OS2\MDOS\DEBUG.EXE is missing.
:END