From bd0a268ad209e0d579bd7d55fe44eff77efc65d6 Mon Sep 17 00:00:00 2001
From: rswindell <>
Date: Wed, 4 Sep 2002 09:31:30 +0000
Subject: [PATCH] DIR commands use shell/comspec (rather than "command.com"
 always).

---
 exec/str_cmds.src | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/exec/str_cmds.src b/exec/str_cmds.src
index d2e3b87df4..efe2943fb5 100644
--- a/exec/str_cmds.src
+++ b/exec/str_cmds.src
@@ -256,8 +256,9 @@ if_true
 	compare_str "DIR"	# directory of current lib/dir
 	if_true
 		chksyspass
+		print "\r\nDirectory of %f\r\n\r\n"
 		if_true
-			exec_int command /c dir %f /p
+			exec_int "%y /c dir %f /p"
 			end_if
 		return
                 end_if
@@ -276,7 +277,7 @@ if_true
 		if_true
 			shift_str 3
 			call get_arg
-			exec_int command /c dir %s /p
+			exec_int "%y /c dir %s /p"
 			end_if
 		return
 		end_if
-- 
GitLab