Microsoft Windows NT 4.0 Guide Bedienungsanleitung Seite 20

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 35
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 19
Application Compatibility Scripts for Windows NT Server, Terminal Server Edition 16
The Application Scripts use one final component to assist in optimizing previously
written applications for operation in a Terminal Server environment. That
component is a series of small programs/executables that are called from within the
application compatibility script to retrieve certain values from the registry, change
permissions on a set of files.
Some of these tools are designed specifically for Terminal Server, while others were
originally part of the resource kit and you may already be familiar with them.
Regardless, a full explanation of each .exe with syntax descriptions is provided in
the following section. These files are all located in the %systemroot%/applications
compatibility scripts directory
You can find good examples of how these programs are used in appendix b, which
also includes all of the other application compatibility scripts that Microsoft provides
when the Terminal Server product is installed.
Program Tools
1. ACREGL.exe
What is the purpose of this utility?
This tool looks up the desired key and value in the registry. It
outputs the result as a SET statement to the indicated filename.
Options allow some massaging of the value before it is written to
the file.
Syntax: Acregl Filename EnvVarName Key Value
Options
NOTE: Key must start with HKLM or HKCU. Often the key will be
in quotes because it will contain embedded spaces.
Detailed information on command line options:
Value may be blank ("") to look up the default value for a key. The
acregl tool only supports values that return a string type. REG_SZ
is ideal. REG_MULTI_SZ would only contain the first item in the
list. REG_EXPAND_SZ should work but it won't explicitly get
expanded.
The options parameter can be blank ("") or it can be one of the
two following choices:
"STRIPCHARxn" will search from right to left. It strips the
rightmost n instances of the character x. The count may be omitted
TOOLS FOR ADDITIONAL
AUTOMATION FOR
SCRIPTS IN TERMINAL
SERVER
Seitenansicht 19
1 2 ... 15 16 17 18 19 20 21 22 23 24 25 ... 34 35

Kommentare zu diesen Handbüchern

Keine Kommentare