NetWare 4.1/9000 Utilities Reference

2-17
Workstation Utilities
FLAG
FLAG
Purpose
Use at a workstation to
View or modify file and directory attributes to determine which operations can
be performed with the file or directory.
Modify the owner of a file or directory.
View or modify the search mode of executable files to determine how the
program uses search drives when looking for a file.
Syntax
FLAG path [[+ | -] attribute...] [/option...]
[/? | /VER]
Parameter Use to
(no parameter) View the status of all files in the directory.
path Specify the path to the file or directory whose attributes
or search modes you want to modify.
+ | - Add attributes to a file or directory (with +). Remove
attributes from a file or directory (with -).
If neither + nor - is used, attributes are assigned to the file
or directory as specified.When you add or delete multiple
attributes, include a space between attribute
abbreviations.
If you add and remove attributes in the same command,
group all + (plus) attributes together and all - (minus)
attributes together.
attribute Specify one or more file or directory attributes. See
“Directory Attributes” and “File Attributes”.
/option Specify an option from the “FLAG Options” table.
/? View online help. (Other parameters are ignored.)