NetWare workstation utilities

FLAG

View/modify file and directory attributes; modify owner of file or directory; view/modify search mode of executable files.

Synopsis

FLAG path [[+ | -] attribute ... ] [/option ... ] [/? | /VER]

Description

Use FLAG at a workstation to:

You can use wildcard characters.

Options

Used with no options, FLAG displays 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 of the following directory or file attributes:

/option
Specify an option from the following:

/NAME | GROUP = name
Change the owner of a file or directory.

/D
View details about a file or directory.

/DO
View or modify only directories in the specified path.

/FO
View or modify only files in the specified path.

/OWNER=name
View all files or directories owned by a user.

/M=mode
Specify a search mode for executable files. The syntax is

/M=mode

Replace mode with a mode number from the following list.

0
Search for instructions in the NET.CFG file (the default mode).

1
Search the path specified in the file. If there is no path, the file searches the default directory, and then all search drives.

2
Search the path specified in the file. If there is no path, the file searches only the default directory.

3
Search the path specified in the file. If there is no path, the file searches the default directory; then if the open request is read only, the file searches the search drives.

4
Reserved; do not use.

5
Search the path specified and then all search drives. If there is no path, the file searches the default directory and then all search drives.

6
Reserved; do not use.

7
First search the path specified. If the open request is read only, the file searches the search drives. If there is no path, the file searches the default directory and then all search drives.

/S
Search the subdirectory in the specified path and any subdirectories below that level.

/C
Scroll continuously through output.

/?
View online help. (Other parameters are ignored.)

/VER
View the version number of the utility and the list of files it uses to execute. (Other parameters are ignored.)

Status flags

Cc (Ca not Compress)
The file cannot be compressed because of limited space savings.

Co (Compressed)
The file has been compressed.

M (Migrated)
The file has been migrated.

Examples


© 1999 The Santa Cruz Operation, Inc. All rights reserved.
UnixWare 7 Release 7.1.1 - 5 November 1999