From 46d81d1ba0a720eef13056557d3e29259ec9c015 Mon Sep 17 00:00:00 2001 From: Nir Lichtman Date: Sat, 18 Apr 2026 09:17:39 +0300 Subject: [PATCH] Fix incorrect slash in dir wildcard syntax example --- WindowsServerDocs/administration/windows-commands/dir.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/WindowsServerDocs/administration/windows-commands/dir.md b/WindowsServerDocs/administration/windows-commands/dir.md index 539079b4d4..4ee2671217 100644 --- a/WindowsServerDocs/administration/windows-commands/dir.md +++ b/WindowsServerDocs/administration/windows-commands/dir.md @@ -71,7 +71,7 @@ dir [:][][] [...] [/p] [/q] [/w] [/d] [/a[[:] 11/30/2004 01:16 PM 0 t97.txt ``` - You might expect that typing `dir t97\*` would return the file t97.txt. However, typing `dir t97\*` returns both files, because the asterisk wildcard matches the file t.txt2 to t97.txt by using its short name map *T97B4~1.TXT*. Similarly, typing `del t97\*` would delete both files. + You might expect that typing `dir t97*` would return the file t97.txt. However, typing `dir t97*` returns both files, because the asterisk wildcard matches the file t.txt2 to t97.txt by using its short name map *T97B4~1.TXT*. Similarly, typing `del t97*` would delete both files. - You can use the question mark (?) as a substitute for a single character in a name. For example, typing `dir read???.txt` lists any files in the current directory with the .txt extension that begin with read and are followed by up to three characters. This includes Read.txt, Read1.txt, Read12.txt, Read123.txt, and Readme1.txt, but not Readme12.txt.