home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Der Mediaplex Sampler - Die 6 von Plex
/
6_v_plex.zip
/
6_v_plex
/
DISK5
/
DOS_01
/
4DVC31.ZIP
/
4DVCBKUP.BTM
< prev
next >
Wrap
Text File
|
1991-01-04
|
1KB
|
49 lines
@echo off
rem
rem This is the entry .BTM file for adding files to an archive. It accepts 1 to
rem n parameters from the 4DVC.BTM entry screen, each of which should be a
rem filename (wildcards accepted).
rem
rem Variables are "cleaned-up" when they are no longer needed. This helps to
rem keep the Environment Space in use to a minimum.
rem
rem Processing goes like this:
rem
rem For each parameter passed,
rem If a file exists by that name
rem Concatenate the parameter to Variable VCSPEC
rem If VCSPEC is empty
rem Issue "no files" message and return to 4DVC.BTM
rem Pass VCSPEC to the 4DOS SELECT statement.
rem For each file the user marks under SELECT, call 4DVCBKP2.BTM
rem
cls
:TESTPARMS
rem ***** build the file-list for the SELECT statement
iff "%1" NE "" then
iff exist %1 then
iff "%VCSPEC" NE "" then
set VCSPEC=%VCSPEC+%1
else
set VCSPEC=%1
endiff
endiff
shift
goto TESTPARMS
endiff
rem ***** See if any files matched the parameters
iff "%VCSPEC" EQ "" then
cls
echo 4DVCBKUP: No files found with extensions provided.
pause
goto WRAPUP
endiff
rem ***** Give SELECT list to user and archive the files SELECTed
set VCCOM=%_date %_time
select /Oe call 4DVCBKP2.BTM (%VCSPEC)
:WRAPUP
set VCCOM=
set VCSPEC=
set VCRESP=
cls