Michael wrote:
>So maybe DR-DOS and PC-DOS allow deleting open .BAT file, while MS-DOS not
>? Internesting.
But how could any of them work like that? If the file is deleted the
file-pointer to it is uesless (lseek for instance in C), so command.com
would have to start over from the top of the BATch file (if it even knows
which file to process).
Anyway Michael use chmod() in core.exe to change the attrib of the file and
nothing should be able to go wrong.
//Bernie
http://bernie.arachne.cz/ DOS programs, Star Wars ...