home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Mega CD-ROM 1
/
megacd_rom_1.zip
/
megacd_rom_1
/
MENU
/
KYSS37.ZIP
/
KYSQKREF.ASC
< prev
next >
Wrap
Text File
|
1991-02-19
|
7KB
|
156 lines
KYSS! QUICK REFERENCE GUIDE
MENU COMMANDS
ADM:ON/OFF Enable/Disable Extended File/Dir management privileges
BEL: Ring bell to gain operator's attention.
DES:text Describe activity in Job Tracking Log (32 char max.).
DOS: Exit KYSS! to DOS command mode. Also use w/PWD:
DIR:d:\path Change logged directory to d:\path before executing job
or changing to a menu.
EDT:filespec Edit specified file (filespec = d:\path\filename.ext).
You may use * & ? wildcards in EDT: filespec.
HDG:text * Display a menu heading.
HLP:filespec n Context-Sensitive help (n = item number in leftmost col).
INP:prompt Operator Entry Request (creates variables $1 to $9)
JOB:filespec Request job number for entry in job tracking log file.
filespec is an optional filename of the file containing
valid job #s & descriptions.
LOG:filespec Record this process in Job Tracking Log
LST:filespec txt View a text file. txt is optional, and if given display
begins at line containing txt.
MNU:filespec Call a submenu
MSG:text Display a message for the operator
ORD: * Display menu entries in order (default = alphabetized).
POS:n,n * Position menu in display area at Row n, Col n.
PRN:filespec Print specified file
PWD:filespec Require a password (filespec - password file).
REM:text REMark is not processed by KYSS!
VER:d:filespec msg Require disk containing filespec (msg prompt optional).
XIT: Exit before process execution; non-resident mode.
NOTE: * commands must begin in leftmost screen position before any menu
selection items are entered. All others must be placed under menu headings
and preceded by a leading space or tab. Exception is PWD: which may also
be used before any menu selection items to password-protect entire menu.
EXAMPLE MENU
| <-- leftmost screen position
HDG:MAIN MENU
POS:3,25
ORD:
Delete Files (First menu selection)
HLP:MAINMENU.HLP 1
REM:Restrict this process to authorized persons
PWD:ACTGDEPT.PWD
MSG:Files you specify will be GONE FOREVER!!!
INP:Enter file specification as d:\path\filespec. You &
can use DOS (? and *) wildcards.
DES:Files deleted by operator
LOG:C:\ACTIVITY.LOG
DEL $1
Wordprocessing Program
REM:Go non-resident to make all memory available
XIT:
WP
REM:If program allows change of current drive/dir, use &
KYSS variables $@ and $# to force return to currently &
logged drive and directory. Notice ! command separator.
$@:!CD\$#
Edit This Menu
REM:This is a convenience for menu development. It can be &
removed or PWD: protected when menu is complete.
MSG:You will have to exit from this menu, then call it again &
for these changes to appear.
EDT:MAINMENU.MNU
Call a Submenu
MNU:MENU2.MNU
KYSS! IMPLICIT VARIABLES
$1 to $9 Created with the KYSS! INP: command. Each time INP: is
used within a single menu entry, a $n variable is created
to contain the characters entered by the operator. As
many as 9 operator entries may be requested.
Example: INP:Source drive as d: (A-C)
INP:Target drive as d: (A-C)
IF $1==$2 GOTO Error
COPY $1*.* $2
GOTO End
:Error
ECHO Source and target drive cannot be the same
PAUSE
:End
$@ Retains 1-character representation of current drive
$# Retains current path. Ex: CD\$#
KYSS.BAT COMMAND LINE SWITCHES
KYSS! is ALWAYS called from the KYSS.BAT file as:
@ECHO OFF
CLS
KYSS3 [optional switches]
Multiple switches may be used. Separate each option with a space.
Switches may be lower case letters as shown or upper case.
-a Allow full access to file/directory mgt. facilities.
-eext Set menu filename extension. Default is .MNU Ex: -eMEN
-f Inhibits specific KYSS! faclilities.
Follow -f with the list of facilities to TURN OFF
e - Editor
f - Files (Disk Jockey)
p - Password editor
o - Options editor
r - Report generator
KYSS3 -frof turns off reports, options and file manager.
-h Hush! Disable bell that preceeds operator entry requests.
-lprn List device. Default is PRN: Example: llpt2
-ppath Set default menu file directory. Ex: -pC:\KYSS3
-tpath Set path for temporary files. Ex: -tE:\
-n Force KYSS! to go non-resident on all menu items.
-o Turn off default CLS and ECHO OFF commands.
-q Allow exit to DOS from main menu via <Esc> key.
-r Disable display of "PRV - Previous" menu selection.
-s Enable swap to XMS/EMS memory or file during process execution.
Swap to file using environment variable KYSWAP=d:\path.
-ufilename Filename containig user names for USR: validation. Create
using KYPASSWD.
KYSS! ENVIRONMENT VARIABLES
Establish using SET command in AUTOEXEC.BAT file.
TPATH=d:\path Establishes path for temporary files to be
written. KYSS.BAT may also be in this directory.
This directory should be unique for each user
in a LAN environment.
KYS$DRV=d: Set "home" drive for KYSS! operations.
KYS$DIR=\path\ Set "home" directory for KYSS! operations.
KYS$PATH=d:\path Replaces KYS$DRV and KYS$DIR in Release V3.7+
KYSAVE=d:\path Storage area for KYSS! working files such as
directory tree, user .CFG files, notepad, etc.
LAN users should be granted all rights to this
directory.
Default is root directory of current drive.
DOS ENVIRONMENT
PATH=d:\path Set DOS search path to directory containing
KYSS! III. Ex: PATH=C:\KYSS3
CONFIG.SYS FILE
FILES=10 Minimum setting in CONFIG.SYS file. 20 is typical.
SHELL=C:\COMMAND.COM /e324 /p
See DOS SHELL command in CONFIG.SYS to create
an environment size sufficient for KYSS! to
use 60 bytes of available environment space.