Microsoft Windows NT 4.0 Guide Manual de usuario Pagina 22

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 35
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 21
Application Compatibility Scripts for Windows NT Server, Terminal Server Edition 18
This example changes the text #ROOTDRIVE# to the value
of the RootDrive environment variable. It reads the
Office97.key from the template subdirectory and writes to
an Office97.key file in the current directory.
ACSR returns an errorlevel of 1 for failure or 0 for success.
3. ACINIUPD.exe
What is the purpose of this utility?
The aciniupd tool is used to update .ini files. It has several modes and options.
Syntax: Aciniupd [/e | /k] [/u] [/v] ini_file section key new_value
Detailed information on command line options:
/e option is used to update the value for a given key and section. For
example, the following will update the value of the USER-DOT-PATH
key in the Microsoft Word section of WinWord6.ini:
Aciniupd /e "Winword6.ini" "Microsoft Word"
USER-DOT-PATH "%RootDrive%\OFFICE43\WINWORD"
/k option updates a key name with the new key name in the specified
section. In the following example, the key WZTABLE.MDA in the
Libraries section of MsAcc20.Ini is changed. Note, that this option
changes the left side of the KEY=VALUE statement while the /e option
changes the right side.
Aciniupd /k "Msacc20.ini" Libraries "WZTABLE.MDA"
"%RootDrive%\OFFICE43\ACCESS\WZTABLE.MDA"
/u option updates the .INI file in the user's windows directory instead of
the system directory. This is accomplished by changing the system
mode to execute if currently in install mode. The mode returns to its
original state when the tool completes.
/v option is for verbose mode. In verbose mode, error and status
messages are displayed as appropriate. By default, the tool operates
silently.
ACINIUPD returns an errorlevel of 1 for failure or 0 for success.
4. CACLS.exe
What is the purpose of this utility?
Cacls.exe is used to display or modify access control lists (ACLs) of files.
Vista de pagina 21
1 2 ... 17 18 19 20 21 22 23 24 25 26 27 ... 34 35

Comentarios a estos manuales

Sin comentarios