|
Windows ce 2 for the etop workstations User's Manual
|
bet | 13/23 | Sana | 21.03.2017 | Hajmi | 192,5 Kb. | | #918 |
5.1Batch.exe
Purpose: batch file processor
Usage: BATCH filename
Description:
The following commands are supported in Batch File:
REM
|
ignores the line (remark)
|
PAUSE
|
waits for a keystroke
|
WAIT number
|
waits for a number of milliseconds
|
COPY sourcefile destfile
|
copies a source file to a destination file (overwrites destination file)
|
MOVE sourcefile destfile
|
moves a source file or directory to a destination file or directory
|
DEL file
|
deletes a file
|
MD directory
|
makes a directory
|
RD directory
|
removes an empty directory
|
XCOPY sourcefile(s) destdir
|
copies source files (wildcards supported) to specified destination directory
|
XCOPY sourcefile(s) destdir /s
|
copies source files and subdirectories to specified destination directory
|
CALL batchfile
|
transfers execution to another batch file
|
ProgramName
|
executes a program
|
Note: Full path names must always be specified.
5.1.1Running scripts at start-up
At power-up the system checks for the presence of a file named AUTOEXEC.BAT in the root directory of the External Memory.
If present, the file is opened and the instructions specified in it are executed.
Note: An error message will be written to the console upon each command that failed; you may use the PAUSE command in the batch file to isolate the problem.
|
| |