The File properties can be activated or deactivated in DOS using the Follwoing command
attrib +/-a +/-h +/-s +/-r
where + activates and - deactivates and attribute follows.
a: archive attribute
h: hidden file attribute (the file remains hidden in normal file view)
r: read-only file attribute (the file cannot be deleted without deactivating this attribute)
s: system file attribute (important files which must be treated with care)
"attrib config.sys -a -r +h" deactivates archive and read-only attributes and hides the file.
No comments:
Post a Comment