Technical data

Using Technician Interface Software
5-20
303561-A Rev 00
Out-of-Band File Transfers
Appendix B describes how to transfer files out-of-band (using facilities outside
the IP network), using the
xmodem
command.
Changing File Attributes
The
attr
command changes the DOS file attributes. These attributes are displayed
when you enter the
dir
command. You cannot delete or rename a file whose
attributes are
s
(for system) or
h
(for hidden). This section describes how to
reassign attributes to such files, so that you can remove these protections.
Hexadecimal values with a 0x prefix determine the set of attributes associated
with DOS files. Determine which hex value is associated with the set of attributes
you want for a file. Then enter the
attr
command, along with the hex value and the
name of the file(s) whose attributes you are assigning.
Enter the following to assign one or more attributes to a file in the present working
directory:
attr
<hex_value> <filename.ext>
Enter the following to assign one or more attributes to a file in another directory:
attr
<hex_value>
\
<pathname>
\
<filename.ext>
You can use the wildcard characters
*
and
?
when naming files. Table 5-3 lists the
DOS file attributes, their meanings, and their hex values.
Table 5-3. DOS File Attributes
Attribute Flag Meaning Hex Value
a
Archive needed 0x20
d
Subdirectory 0x10 -- not user modifiable
v
Volume ID 0x08 -- not user modifiable
s
System file 0x04
h
Hidden 0x02
r
Read-only file 0x01