[net.micro.pc] MS-DOS CHATTR function

jchapman@watcgl.UUCP (john chapman) (06/25/85)

 I was trying to use the MS-DOS get/set file attributes last
 night and ran into a problem.  Get works fine (at least it returns
 reasonable values for the files I was looking at) but Set returns
 an error code (2) that is not in my documentation.
 
 The only codes in my doc. are:
 1 - AL has the wrong function (0=get, 1=set, anything else=error)
 3 - bad path (file does not exist)
 5 - invalid attributes in CX, either a non-existent attribute
     or one which cannot be changed (e.g. vol. label)

 I can get each of the above error codes by using an incorrect/illegal
 parameter appropriately so all the paramter error checking is taking
 place as described in the manual which to me also means that when I
 get a return code of 2 back it is not objecting to any of the things
 error codes 1,3,5 are used for; everything I pass seems ok but no
 action is taken other than to return 2.

 Is get/set not completely implemented (I'm running generic 2.0 btw)?
 I'd appreciate any suggestions. Thanks in advance,

				John Chapman
				...!watmath!watcgl!jchapman