Mail Archives: opendos/1997/01/31/19:25:09
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)--
- Raw text -