110
Installing [email protected]
KR(file_or_box
[,recording_info])
Command that makes a recording and stores it as either a file or a message for the specified
mailbox.
file_or_box
A string or variable indicating where the recording is to be stored. It contains
either a mailbox indicating whose message it is or a valid DOS file name. Use the
complete path to the file unless the file is in C:\AMANDA.
recording_info
A number from 0 to 3 indicating whether the caller hears a beep (to start
recording) and the post record menu. The default is 1.
0
No beep; no post record menu.
1
Beep; no post record menu.
2
Beep; post record menu.
3
No beep; post record menu.
Examples:
KR(212)
makes the recorded response a new message for mailbox 212.
KR("C:\\MSG.VOX")
stores the response in the MSG.VOX file in the root directory. In both cases, the caller hears the
beep for recording but no post record menu.
N
OTE
:
When using the KR() command, be sure to ask the caller to leave a message. A
suggested example is:
P(G1)KR(212)
Greeting 1 says, “Please leave a message at the tone. Finish by pressing # or hanging
up.”
Failure:
Invalid mailbox
Unable to create file
KS
[(errorlevel)]
Command that starts a system shutdown immediately.
errorlevel
Optional. Specifies the exit code (a DOS errorlevel) at which the system exits. The
default exit code (errorlevel) is zero.
This command is used only in Extension fields.
Example:
KS(3)
immediately shuts down the system, exiting with the errorlevel set to 3. The errorlevel
can be used by another program or a DOS batch file to determine what action should be
taken next.
Failure:
Does not fail
KV(file,field,
value)
Command that finds and deletes the first record in the specified file that has the specified
value in the specified field.
file
A string or variable containing a valid DOS file name for the text or DBF file. Use the
complete path to the file unless the file is in C:\AMANDA. No line in the file should ex-
ceed 143 characters. There is no limit to the number of lines in the file.
field
A number, string, or variable that indicates the number or name of a field.
value
A string or variable that contains the data to be compared with the contents of the spec-
ified field.
Example:
KV("C:\\LISTS\\PHONE.LST",4,"STEVE BRUCE")
searches for the first record in the PHONE.LST file that contains the value STEVE
BRUCE in field 4. If found, the entire record is deleted. If not found, no record is deleted
(but the command is still successful).
Failure:
The file is read-only
Insufficient disk space to save file
File is not the correct format (text file containing comma-separated fields and carriage
return/linefeed separated records or .DBF file)
Alphabetical Token Reference (Continued)
Token Syntax
Description
Содержание [email protected] Version 3.xx
Страница 1: ...Installing AmAndA Work Place Version 3 xx Installer s Guide Edition 7 01...
Страница 4: ...iv Installing Amanda Work Place...
Страница 60: ...52 Installing Amanda Work Place...
Страница 68: ...60 Installing Amanda Work Place...
Страница 132: ...124 Installing Amanda Work Place...
Страница 150: ...142 Installing Amanda Work Place...
Страница 156: ...148 Installing Amanda Work Place...
Страница 194: ...186 Installing Amanda Work Place...
Страница 206: ...198Installing Amanda Work Place...