home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 1999 June
/
Chip_1999-06_cd.bin
/
sharewar
/
techmn
/
TIMEX.BAT
< prev
next >
Wrap
DOS Batch File
|
1994-10-11
|
1KB
|
40 lines
Echo OFF
cls
REM Change following lines to suit your setup.
set TODDIR=\APPS\TOD
set TODDRV=C:
set TIMDIR=\APPS\TIM
set TIMDRV=C:
%TODDRV%
cd %TODDIR%
Echo Please backup your TIM data before executing this prmcedure.
Echo.
Echo No one must access TIM during this procedure!
Echo Verify this.
Echo.
Echo If "Out of Environment Space" appears above, press Control+Break
Echo and expand your dos environment. This procedure will never work
Echo if you fail to do so. Consult a dos manual on how to do this.
Echo.
Echo Press any key to to continue.
pause > nul
Echo.
Echo Copying files...
ren call.* acall.*
ren comments.* acomment.*
copy %TIMDRV%%TIMDIR%\call.* %TODDRV%%TODDIR% > nul
copy %TIMDRV%%TIMDIR%\comments.* %TODDRV%%TODDIR% > nul
timextr
cls
Echo Copying files...
copy %TODDRV%%TODDIR%\call.* %TIMDRV%%TIMDIR% > nul
copy %TODDRV%%TODDIR%\comments.* %TIMDRV%%TIMDIR% > nul
del call.*
del comments.*
ren acall.* call.*
ren acomment.* comments.*
Echo.
Echo Done!