84
Manipulating files and directories using OmniFS
OmniFS operations
OmniFS operations
Setting the attribute for a file
The supported OmniFS operations are as follows:
Attrib
Copy
Rename
Delete
Deltree
Dir
Info
Help
Version
Mkdir
Commands are not case sensitive.
The syntax for the attrib command is as follows:
attrib [+r][-r][+s][-s][+h][-h][+w][-w][+x][-x] <source>
Table 6-3
lists the attributes. Some attributes are not available for some file
systems.
Attribute descriptions
Table 6-3
Attribute
Description
r
Readable
s
System
h
Hidden
w
Writable
x
Executable
You must set the source argument as an absolute path. This command sets or
clears the file attributes to read only, system or hidden.