Microsoft Windows NT 4.0 Guide Uživatelský manuál Strana 23

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 35
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 22
Applications Compatibility Scripts for Windows NT Server, Terminal
Server Edition
Syntax:
CACLS filename [/T][/E][/C][/G user:perm][/R user [...]][/P user:perm [...]] [/D user [...]]
Example:
Cacls %systemroot%\system32\MsForms.Twd /E /P EveryOne:F
This example replaces the permissions on the msforms.twd file to full
control for the group Everyone.
Detailed information on command line options:
Filename option displays ACLs for the specific file.
/T option changes ACLs of specified files in the current directory and all
subdirectories.
/E option edits ACL instead of replacing it.
/C option continues on access denied errors.
/G user:perm option grants specified user access rights.
Perm can be: R Read
C Change (write)
F Full control
/R user option revokes specified user's access rights (only valid with
/E).
/P user:perm option replaces specified user's access rights.
Perm can be: N None
R Read
C Change (write)
F Full control
/D user option denies specified user access.
Wildcards can be used to specify more that one file in a command. You can
specify more than one user in a command.
5. FINDSTR.exe
What is the purpose of this utility?
Searches for strings in files using literal text or regular expressions. For more
detail, see findstr in online help.
Syntax: findstr [/b] [/e] [/l] [/c:string] [/r] [/s] [/i] [/x] [/v] [/n] [/m] [/o] [/g:file] [/f:file]
strings files
Detailed information on command line options:
/b Matches pattern if at the beginning of a line.
/e Matches pattern if at the end of a line.
/l Uses search strings literally.
/c Uses specified text as a literal search string.
Zobrazit stránku 22
1 2 ... 18 19 20 21 22 23 24 25 26 27 28 ... 34 35

Komentáře k této Příručce

Žádné komentáře