1
0
Fork 0

Illegal command displays the command

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@96
This commit is contained in:
Peter Veenstra 2002-07-30 09:51:26 +00:00
parent cbc226bf92
commit 20a6b42f1c
3 changed files with 3 additions and 3 deletions

View file

@ -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) {