From 303fa977bad90dd2a88c04a9f1cdcd2f93320ce8 Mon Sep 17 00:00:00 2001 From: "Jan T. Sott" Date: Mon, 6 Aug 2018 10:29:09 +0200 Subject: [PATCH] where: add page (#2223) --- pages/windows/where.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 pages/windows/where.md diff --git a/pages/windows/where.md b/pages/windows/where.md new file mode 100644 index 0000000000..ae9f053f83 --- /dev/null +++ b/pages/windows/where.md @@ -0,0 +1,20 @@ +# where + +> Display the location of files that match the search pattern. +> Defaults to current work directory and paths in the PATH environment variable. + +- Display the location of file pattern: + +`where {{file_pattern}}` + +- Display the location of file pattern including file size and date: + +`where /T {{file_pattern}}` + +- Recursively search for file pattern at specified path: + +`where /R {{path/to/directory}} {{file_pattern}}` + +- Display only the error code for the location of file pattern: + +`where /Q {{file_pattern}}`