Date: Fri, 31 Jan 1997 17:07:32 -0600 (MDT) From: Roger Ivie Subject: [opendos] Disappearing files: Passwords? To: OPENDOS AT MAIL DOT TACOMA DOT NET Message-id: <01IEVCDXXW5K8ZLMEV@cc.usu.edu> MIME-version: 1.0 Content-type: TEXT/PLAIN; CHARSET=US-ASCII Content-transfer-encoding: 7BIT Sender: owner-opendos AT mail DOT tacoma DOT net Precedence: bulk There was a fellow recently complaining about files that were sometimes there and sometimes not. I'm seeing similar things, but under windows; basically, it looks like Weird Stuff (tm) happens when you're running windows. If I have a file with a password, it does not show up in the directory listing in a DOS prompt under windows. It shows up just fine if I exit windows, but not while I'm running windows. Oddly, attrib lists a file with a password as hidden. Perhaps Windows is filtering things out of the INT 21H calls? I've not yet looked with a disk editor to see how passwords are implemented under OpenDOS. IIRC (and I never really investigated to find out), passwords under MP/M and CP/M+ were implemented by an extra FCB associated with the file containing the password; I don't know how MP/M marked the file as having an associated password (perhaps one of the attributes bits?). I suspect they are implemented similarly in OpenDOS and Windows is misreading the attributes because it's seeing something it doesn't recognize. Roger Ivie ivie AT cc DOT usu DOT edu --Boundary (ID xNQ6bqNnEybhQpJ2xVuRTg)--