home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Power-Programmierung
/
CD1.mdf
/
magazine
/
pcmagazi
/
1989
/
06
/
options.bat
< prev
next >
Wrap
DOS Batch File
|
1988-09-30
|
450b
|
15 lines
ECHO OFF
:XBACKUP.BAT
FOR %%v IN (F I) DO IF (%1)==(%%v) GOTO BEGIN
FOR %%v IN (f FULL full Full) DO IF (%1)==(%%v) %0 F
FOR %%v IN (i INC inc Inc INCREMENTAL) DO IF (%1)==(%%v) %0 I
FOR %%v IN (incremental Incremental) DO IF (%1)==(%%v) %0 I
GOTO ERROR
:BEGIN
IF (%1)==(F) ECHO Start a full backup ...
IF (%1)==(I) ECHO Start an incremental backup ...
GOTO END
:ERROR
ECHO You didn't choose any of the MANY possible parameters.
:END