Illegal command displays the command
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@96
This commit is contained in:
parent
cbc226bf92
commit
20a6b42f1c
3 changed files with 3 additions and 3 deletions
|
@ -138,7 +138,7 @@ void DOS_Shell::Execute(char * name,char * args) {
|
|||
/* Check for a full name */
|
||||
fullname=Which(name);
|
||||
if (!fullname) {
|
||||
WriteOut(MSG_Get("SHELL_EXECUTE_ILLEGAL_COMMAND"));
|
||||
WriteOut(MSG_Get("SHELL_EXECUTE_ILLEGAL_COMMAND"),name);
|
||||
return;
|
||||
}
|
||||
if (strcasecmp(strrchr(fullname, '.'), ".bat") == 0) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue