User`s guide

Command Files 89
Command
Files
Command Files
To update the
contents of the
internal drive from
the optional DVD-
ROM drive, use a
Command File.
A Command File is a simple yet powerful way to automatically update
the contents of one or many Digital Video Machine 2’s in the field,
without using a laptop or other external device. If your DVM2 has the
optional DVD-ROM drive installed, just insert a CD-ROM or DVD-
ROM into the drive that contains your new video files, playlists, real
time scheduler files or any other files you wish to store on the DVM2
like equipment diagrams, or installer notes along with a command file
and the Digital Video Machine 2 automatically updates the internal
drive itself.
Use the Update
command to replace
existing files or the
Copy command to
copy new files onto
the drive.
When power is applied to the Digital Video Machine 2, the DVM2
searches for a command file named command0.bat” on the disk in the
DVD-ROM drive. If found, this file will be processed before any other
power-up operations take place. The command file supports the
processing of an Update command (U) or a Copy command (C).
If a ‘U’ appears in the file, the Digital Video Machine 2 will automatically
search for any files on the internal drive that match those on the DVD-ROM
drive. It then overwrites the matching files on the internal drive with those
from the DVD-ROM drive.
Just as with playlists and schedules, you can add any comments you wish to the
command file that will not affect the update operation. Placing a ‘;’ on any line
in the file will cause the rest of that line to be ignored.
Example of a command0.bat command file using the update command:
U ; This command will update all existing files on the DVM2 with
; matching files from this DVD-ROM.
If a ‘C’ character appears in the file, the Digital Video Machine 2 will copy all
of the files from the DVD-ROM drive (except command0.bat) onto the internal
drive but will not overwrite any existing files. Place the letter ‘O’ in the file to
force overwriting of existing files that have the same names as those on the
CD/DVD-ROM.
Example of a command0.bat command file using the copy and overwrite
command:
O, C ; These commands will copy every file from this DVD-ROM (except
; this command file) onto the DVM2’ s drive. Any existing files that
; match the ones on this disk will be overwritten.
Removing the ‘O’ from this example would prevent any existing files from
being overwritten.