1 .TH CPMCHATTR 1 "@UPDATED@" "CP/M tools" "User commands"
2 .SH NAME \"{{{roff}}}\"{{{
3 cpmchattr \- change file attributes on CP/M files
17 \fBCpmchattr\fP changes the file attributes for files on CP/M disks.
20 .IP "\fB\-f\fP \fIformat\fP"
21 Use the given CP/M disk \fIformat\fP instead of the default format.
23 Set the file attributes as given.
25 .SH "FILE ATTRIBUTES" \"{{{
26 The file attribute string can contain the characters
28 The meanings of these are:
31 The CP/M "user attributes" F1-F4. CP/M does not assign any
32 meaning to these attributes, though MP/M does.
35 The file is a system file. This attribute can also be set by
39 The file has been backed up.
42 Reset all attributes to zero. So the string "N1r" resets all attributes and
43 then sets F1 and Read-Only.
46 Attributes after an M are unset rather than set. The string "12M34" sets
47 atttributes F1 and F2, and unsets F3 and F4.
49 .SH "RETURN VALUE" \"{{{
50 Upon successful completion, exit code 0 is returned.
53 Any errors are indicated by exit code 1.
56 @DATADIR@/diskdefs CP/M disk format definitions
59 This program is copyright 1997, 1998, 1999, 2000, 2001 Michael Haardt
60 <michael@moria.de> and copyright 2000, 2001 John Elliott
61 <jce@seasip.demon.co.uk>.
63 This program is free software; you can redistribute it and/or modify
64 it under the terms of the GNU General Public License as published by
65 the Free Software Foundation; either version 2 of the License, or
66 (at your option) any later version.
68 This program is distributed in the hope that it will be useful,
69 but WITHOUT ANY WARRANTY; without even the implied warranty of
70 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
71 GNU General Public License for more details.
73 You should have received a copy of the GNU General Public License along
74 with this program. If not, write to the Free Software Foundation, Inc.,
75 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.