diff --git a/exec/str_cmds.src b/exec/str_cmds.src
index d2e3b87df429f94589f2773b3be18f1953969a17..efe2943fb54c5c119278f9c6cf9daacc43155661 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