From 2eaf3bb790d33c433af06b01cd6df6b88494f4a9 Mon Sep 17 00:00:00 2001 From: akhilennu Date: Tue, 5 Aug 2025 10:18:10 +0530 Subject: [PATCH] dir: add sort example (#17469) * Update dir.md, Added sort by size, date, name, etc. * Update dir.md * Update dir.md --- pages/windows/dir.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pages/windows/dir.md b/pages/windows/dir.md index 9aec8e4a20..68f4a55c25 100644 --- a/pages/windows/dir.md +++ b/pages/windows/dir.md @@ -22,3 +22,7 @@ - Show a bare list of directories and files, with no additional information: `dir /b` + +- Sort results by date/time, oldest first: + +`dir /o:d`