Mail Archives: opendos/1997/12/20/09:26:38
Cross+Road's wrote:
>
> A text editor in a net program I use allows for the shelling out to dos
> and do other operations before returning with exit when desiring. What I
> have noticed is that frequently but not always I recieve an error: "error
> in the call to command.com, press any key to continue". I cannot predict
> when this happens however it happens more often than not. My shell path has
> command.com in the opendos directory and I have a copy of command.com in the
> root with the +h attribute.
> Is this caused by my applacation or is there something I am missing in
> opendos?
Your program might be shelling out to a hard coded
"C:\\DOS\\COMMAND.COM" rather than useing either the SHELL or the
COMSPEC environment variable. Worse yet, it might be shelling out to
"COMMAND.COM" only causing strange behaviors in different working
directories.
VIM, for example shells out correctly under OpenDOS.
--
Weiqi Gao
weiqigao AT a DOT crl DOT com
- Raw text -