🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.msdos.programmer
Article #501

Setting attributes of MS-DOS files

#501
From: Matthew Lee
Date: Fri, 01 Jun 1990 22:53
12 lines
1010 bytes
I am trying to set bit 6 of the attribute byte of a DOS file.  I want to be 
able to flag a set of files and since bits 0-5 are used for the read-only, 
hidden, ... attributes and bit 7 is used by Novell Netware, bit 6 seems 
the least likely to conflict with other things. However, my attempts to use
the C "_chmod" function and to use DOS interrupt 21, function 43 have been
unsuccessful, I don't think they expect anybody to do this.

Can anybody help me out with this?

Thanks
Matthew Lee
leemc@csri.toronto.edu
Technical Details
Message-ID: <1990Mar31.125044.18181@jarvis.csri.toronto.edu>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!shelby!rutgers!uwm.edu!rpi!sci.ccny.cuny.edu!cucard!dasys1!cooper!phri!cmcl2!yale!think!zaphod.mps.ohio-state.edu!usc!cs.utexas.edu!news-server.csri.toronto.edu!csri.toronto.edu!leemc

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!shelby!rutgers!uwm.edu!rpi!sci.ccny.cuny.edu!cucard!dasys1!cooper!phri!cmcl2!yale!think!zaphod.mps.ohio-state.edu!usc!cs.utexas.edu!news-server.csri.toronto.edu!csri.toronto.edu!leemc
From: leemc@csri.toronto.edu (Matthew Lee)
Newsgroups: alt.msdos.programmer,comp.sys.ibm.pc.programmer
Subject: Setting attributes of MS-DOS files
Message-ID: <1990Mar31.125044.18181@jarvis.csri.toronto.edu>
Date: 1 Jun 90 22:53:26 GMT
Distribution: na
Lines: 12