home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Boston 2
/
boston-2.iso
/
DOS
/
DEUTSCH
/
GS
/
ADRESS18
/
GSADR.180
/
RSICHERN.BAT
< prev
next >
Wrap
DOS Batch File
|
1993-06-18
|
1KB
|
47 lines
ECHO OFF
CLS
IF "%1" == "" GOTO fehler
IF "%2" == "" GOTO fehler
ECHO Ich bin Ihre Datenrücksicherungsbatchdatei .......
ECHO.
ECHO.
IF EXIST ortnr.ntx REN ortnr.ntx ortnr.atx > NUL
IF EXIST ortname.ntx REN ortname.ntx ortname.atx > NUL
IF EXIST ortplz.ntx REN ortplz.ntx ortplz.atx > NUL
IF EXIST vorwplz.ntx REN vorwplz.ntx vorwplz.atx > NUL
IF EXIST vorwvorw.ntx REN vorwvorw.ntx vorwvorw.atx > NUL
IF EXIST straname.ntx REN straname.ntx straname.atx > NUL
IF EXIST stra2.ntx REN stra2.ntx stra2.atx > NUL
IF EXIST pfnummer.ntx REN pfnummer.ntx pfnummer.atx > NUL
IF EXIST pfplz.ntx REN pfplz.ntx pfplz.atx > NUL
IF EXIST umst.ntx REN umst.ntx umst.atx > NUL
IF EXIST umstname.ntx REN umstname.ntx umstname.atx > NUL
IF EXIST umstnr.ntx REN umstnr.ntx umstnr.atx > NUL
IF EXIST ortar.ntx REN ortar.ntx ortar.atx > NUL
IF EXIST ortarna.ntx REN ortarna.ntx ortarna.atx > NUL
IF EXIST strar.ntx REN strar.ntx strar.atx > NUL
restore %1 %2
IF EXIST *.NTX DEL *.NTX > NUL
IF EXIST *.DBB COPY *.DBB *.BED
IF EXIST *.DBS COPY *.DBS *.SEL
IF EXIST *.DBB DEL *.DBB
IF EXIST *.DBS DEL *.DBS
IF EXIST *.atx REN *.atx *.ntx > NUL
GOTO ende
:fehler
CLS
ECHO Aufruf : rsichern [von Laufwerk] [nach Laufwerk]
ECHO.
ECHO Beispiel: rsichern a: c:
ECHO.
ECHO.
:ende
ECHO ON