home *** CD-ROM | disk | FTP | other *** search
/ Boston 2 / boston-2.iso / DOS / DEUTSCH / GS / ADRESS18 / GSADR.180 / RSICHERN.BAT < prev    next >
DOS Batch File  |  1993-06-18  |  1KB  |  47 lines

  1. ECHO OFF
  2. CLS
  3. IF "%1" == "" GOTO fehler
  4. IF "%2" == "" GOTO fehler
  5.  
  6. ECHO Ich bin Ihre Datenrücksicherungsbatchdatei .......
  7. ECHO.
  8. ECHO.
  9.  
  10. IF EXIST ortnr.ntx    REN ortnr.ntx    ortnr.atx     > NUL
  11. IF EXIST ortname.ntx  REN ortname.ntx  ortname.atx   > NUL
  12. IF EXIST ortplz.ntx   REN ortplz.ntx   ortplz.atx    > NUL
  13. IF EXIST vorwplz.ntx  REN vorwplz.ntx  vorwplz.atx   > NUL
  14. IF EXIST vorwvorw.ntx REN vorwvorw.ntx vorwvorw.atx  > NUL
  15. IF EXIST straname.ntx REN straname.ntx straname.atx  > NUL
  16. IF EXIST stra2.ntx    REN stra2.ntx    stra2.atx     > NUL
  17. IF EXIST pfnummer.ntx REN pfnummer.ntx pfnummer.atx  > NUL
  18. IF EXIST pfplz.ntx    REN pfplz.ntx    pfplz.atx     > NUL
  19. IF EXIST umst.ntx     REN umst.ntx     umst.atx      > NUL
  20. IF EXIST umstname.ntx REN umstname.ntx umstname.atx  > NUL
  21. IF EXIST umstnr.ntx   REN umstnr.ntx   umstnr.atx    > NUL
  22. IF EXIST ortar.ntx    REN ortar.ntx    ortar.atx     > NUL
  23. IF EXIST ortarna.ntx  REN ortarna.ntx  ortarna.atx   > NUL
  24. IF EXIST strar.ntx    REN strar.ntx    strar.atx     > NUL
  25.  
  26. restore %1 %2
  27. IF EXIST *.NTX DEL *.NTX > NUL
  28. IF EXIST *.DBB COPY *.DBB *.BED
  29. IF EXIST *.DBS COPY *.DBS *.SEL
  30. IF EXIST *.DBB DEL *.DBB
  31. IF EXIST *.DBS DEL *.DBS
  32.  
  33. IF EXIST *.atx  REN *.atx *.ntx  > NUL
  34.  
  35. GOTO ende
  36.  
  37. :fehler
  38. CLS
  39. ECHO Aufruf  : rsichern [von Laufwerk] [nach Laufwerk]
  40. ECHO.
  41. ECHO Beispiel: rsichern a: c:
  42. ECHO.
  43. ECHO.
  44.  
  45. :ende
  46. ECHO ON
  47.