Message-Id: <200110211919.f9LJJSa76877@postino4.int.prima.com.ar> From: "Orlando P. Hevia" To: djgpp AT delorie DOT com Date: Sun, 21 Oct 2001 16:18:52 -0300 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: File attributes X-mailer: Pegasus Mail for Windows (v3.12b) Reply-To: djgpp AT delorie DOT com > > > > 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