From 70d8404ceccd4dc595097c41b044023629859e4b Mon Sep 17 00:00:00 2001 From: Jonathan Campbell Date: Thu, 9 Oct 2025 19:42:36 -0700 Subject: [PATCH] Not sure what the extra strrchr "\" check was about, but it was preventing the use of drive change commands like "a:\" --- src/shell/shell_misc.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/shell/shell_misc.cpp b/src/shell/shell_misc.cpp index 858cdfc67..a0364619e 100644 --- a/src/shell/shell_misc.cpp +++ b/src/shell/shell_misc.cpp @@ -1476,7 +1476,6 @@ bool DOS_Shell::Execute(char* name, const char* args) { #ifdef WIN32 uint8_t c;uint16_t n; #endif - if (strrchr_dbcs(name,'\\')) { WriteOut(MSG_Get("SHELL_EXECUTE_ILLEGAL_COMMAND"),name); return true; } if (!DOS_SetDrive(toupper(name[0])-'A')) { #ifdef WIN32 if(!sec->Get_bool("automount")) { WriteOut(MSG_Get("SHELL_EXECUTE_DRIVE_NOT_FOUND"),toupper(name[0])); return true; }