Message-ID: <3B17629C.B7A62B67@lps.u-psud.fr> Date: Fri, 01 Jun 2001 11:38:36 +0200 From: Daniel Taupin X-Mailer: Mozilla 4.51 [en] (Win95; I) X-Accept-Language: en MIME-Version: 1.0 To: DJGPP List Subject: Changing file protections Content-Type: text/plain; charset=iso-8859-1 X-MIME-Autoconverted: from 8bit to quoted-printable by hprib.lps.u-psud.fr id LAA13735 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id FAA14811 Reply-To: djgpp AT delorie DOT com Info chmod ist not explicite, and "chmod --help" no more, therefore: How can one use chmod to set/remove the "hidden" "system reserved" "archive" "read only" arributes of file? This is compulsorily needed under Win NT when a faulty file (esp. due tu virusses) is locked as "system busy" at bootstart (with NT there is no possible emergency access with native MS-DOS)? If there is none, is there a C routine/subroutine abel to chenge these specific Windows/DOS attributes? Thanks. -- ------------------------------------------------------------------------- Daniel Taupin, Physique des Solides, Univ. Paris-Sud, 91405 ORSAY E-mail : mailto:taupin AT lps DOT u-psud DOT fr Tél: (33) 1.69.15.60.79, Fax: (33) 1.69.15.60.86 -------------------------------------------------------------------------