You are currently offline, waiting for your internet to reconnect

MS-DOS Err Msg: Not Resetting System|Hidden File

This article was previously published under Q81361
Retired KB Content Disclaimer
This article was written about products for which Microsoft no longer offers support. Therefore, this article is offered "as is" and will no longer be updated.
SYMPTOMS
If a file is marked with both the hidden (h) and system (s) attributes, andyou attempt to remove one of the attributes with the MS-DOS ATTRIB command,the command fails and an error message similar to following is displayed:
Not resetting <type> file [drive:][path][filename]
where <type> is "system" or "hidden."

Similarly, if the file is marked read-only (r) and has the hidden(h) andsystem (s) attribute(s) set, you must remove the hidden and systemattribute(s) before you can change the read-only attribute.
RESOLUTION
Use the MS-DOS ATTRIB command to remove BOTH the hidden and systemattributes at the same time. If the file is marked hidden, system, AND read-only, either remove all attributes simultaneously, or remove hidden andsystem attributes first, then the read-only attribute.
MORE INFORMATION
If a file has both the hidden and system attributes set, an attempt toremove only one of the attributes failS with one of the above errormessages. For example, if the file C:\ONE.TWO is marked as both system andhidden, the command(s)
c:\dos\attrib c:\one.two -h

c:\dos\attrib c:\one.two -s
produce the respective error messages:
Not resetting system file C:\ONE.TWO
Not resetting hidden file C:\ONE.TWO
To remove either attribute, use the following command to remove BOTHattributes at the same time:
c:\dos\attrib c:\one.two -s -h
If necessary, you can use the following command to remove the read-only,system, and hidden attributes simultaneously:
c:\dos\attrib c:\one.two -s -h -r
5.00 5.00a 6.00 6.20 6.22 attrib.exe
Properties

Article ID: 81361 - Last Review: 11/16/2006 05:42:46 - Revision: 2.1

  • Microsoft MS-DOS 5.0 Standard Edition
  • Microsoft MS-DOS 5.0a
  • Microsoft MS-DOS 6.0 Standard Edition
  • Microsoft MS-DOS 6.2 Standard Edition
  • Microsoft MS-DOS 6.21 Standard Edition
  • Microsoft MS-DOS 6.22 Standard Edition
  • Microsoft Windows 95
  • KB81361
Feedback