5 creation of directories, 6 copying of files, 7 system functions – Lenze PCMatic Operating system Windows CE4-2 Benutzerhandbuch
Seite 75

73
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\OLE]
"LegacyAuthenticationLevel"=dword:00000001
"LegacyImpersonationLevel"=dword:00000001
"LegacySecureReferences"="N"
"EnableDCOM"="Y"
3.1.5 Creation of directories
Directories can be created in the root directory by means of the instruction “mkdir”. However,
interrelated directory structures are not supported
e.g.:
mkdir “\VWOPCDemo”
3.1.6 Copying of files
Two instructions are available for the copying of files:
Copy
The instruction “copy” copies a file from the source path to the target
path. It is necessary for the complete path to be given, in relation to both
the source and also the target. It is not permissible for the source and
target file names to be identical.
e.g.:
copy "storage\VWOPC\Demo.exe"
"\VWOPCDemo\Demo.exe"
or
copy "storage\VWOPC\Demo.exe"
"\VWOPCDemo\Test.exe"
CopyPath
The instruction “copypath” results in the copying of all files from the
source directory into the target directory.
e.g.: copypath "storage\VWOPC" "\VWOPCDemo"
3.1.7 System functions
Function Description
SILENT
By means of this instruction, the output into the console is switched
off.
ENDMESSAGE
By means of this function, it is possible to switch on a message box
at the end.
WaitForRunningProcess Once this entry has been made, the system will wait for all
subsequently called up programs until they have been processed. A
waiting time of a maximum of 30 sec. Is allowed for each program.
NoWaitForProcess
Once this entry has been made, the system will simply execute all
subsequently called up programs without waiting.
UpdateDCOMSettings
The DCOM settings are updated. This call-up takes place
automatically if users are entered for a COM server.
NOBEEP
The beep alarm at the end of the program is switched off.