|
APP
App is a script interpreter for secure application
execution. Use App
to
read
execution scripts that copy standardized ".ini" type
files to user directories before starting an application,
or to perform application-related cleanup after an
application terminates. The script commands are described
below.
Syntax
app scriptfilename
Parameter
scriptfilename
The name of a script file containing app commands
(see script commands
below).
Remarks
If no scriptfilename
is
specified, app
displays an
error message.
The Application Execution Shell reads commands from
the script file and processes
them in sequential order. The script file must
reside in the %SystemRoot%\Scripts
directory.
Script Commands
The script commands are:
copy sourcedirectory\filespec
targetdirectory
Copies files from sourcedirectory
to targetdirectory. Filespec
specifies the
files to copy and can include wild cards
(*,?).
delete directory\filespec
Deletes files owned by a user in the
directory
specified. Filespec specifies
the
files to delete and can include wild cards (*,?).
See the Examples section for
more information.
deleteall directory\filespec
Deletes all files in the
directory
specified.
execute
Executes the program specified by the
path command using the working
directory specified by the
workdir command.
path executablepath
Executablepath
is the fully qualified name of the executable to be
run.
316 MetaFrame XP Administrator’s
Guide
workdir directory
Sets the default working directory to the path
specified by directory.
|