Message-Id: <200110211915.f9LJFUs73506@postino5.prima.com.ar> From: "Orlando P. Hevia" To: djgpp AT delorie DOT com Date: Sun, 21 Oct 2001 16:14:54 -0300 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: File attributes In-reply-to: <2593-Sun21Oct2001182401+0200-eliz@is.elta.co.il> References: (message from Sami on Sun, 21 Oct 2001 14:29:13 GMT) X-mailer: Pegasus Mail for Windows (v3.12b) Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > > > > I haven't found S_I* symbol for 'hidden' and 'system' > > -attributes. > > They aren't there: `chmod' is a Posix function, and Posix > doesn't know anything about DOS/Windows-specific attributes. > > > Is there any standard (or any common) function or way in C > > to set these -file attributes? I've found _chmod() in > > djgpp, but is there a more common function for this? I used CALL SYSTEM('ATTRIB +H FILE.EXT') in FORTRAN. May be an equivalent works in C. Ing. Orlando P. Hevia heviaop AT ciudad DOT com DOT ar Santa Fe-Argentina