diff --git a/src/shell/shell_cmds.cpp b/src/shell/shell_cmds.cpp index 5146be19..6f013ed7 100644 --- a/src/shell/shell_cmds.cpp +++ b/src/shell/shell_cmds.cpp @@ -123,11 +123,12 @@ void DOS_Shell::DoCommand(char * line) { char cmd_buffer[CMD_MAXLINE]; char * cmd_write=cmd_buffer; while (*line) { - if (*line==32) break; - if (*line=='/') break; - if (*line=='\t') break; - if (*line=='=') break; - if ((*line=='.') ||(*line =='\\')) { //allow stuff like cd.. and dir.exe cd\kees + if (*line == 32) break; + if (*line == '/') break; + if (*line == '\t') break; + if (*line == '=') break; + if (*line == ':') break; + if ((*line == '.') ||(*line == '\\')) { //allow stuff like cd.. and dir.exe cd\kees *cmd_write=0; Bit32u cmd_index=0; while (cmd_list[cmd_index].name) {