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
|
@ -2,4 +2,4 @@
|
|||
- fixed compilation error on FreeBSD when #disable_joystick was defined
|
||||
- int10_writechar has been updated to move the cursor position.
|
||||
- changed the basedir routines to use the current working dir instead of argv[0]. This will fix and brake things :)
|
||||
|
||||
- illegal command, now displays the command
|
||||
|
|
|
@ -71,5 +71,5 @@ The DOSBox Team
|
|||
Drive %c does not exist!
|
||||
.
|
||||
:SHELL_EXECUTE_ILLEGAL_COMMAND
|
||||
Illegal command
|
||||
Illegal command: %s
|
||||
.
|
||||
|
|
|
@ -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
Reference in a new issue