Are there any utility find commands that you can download and use in DOS which match the UNIX find command?
Asked
Active
Viewed 1,071 times
1
-
1Thou shall google for "[gnu find windows](http://www.google.com/search?q=gnu+find+windows)". – Zoredache Mar 22 '11 at 19:19
-
@Zord - great minds – Chopper3 Mar 22 '11 at 19:22
3 Answers
1
You can use: dir ipconfig.* /s/p

Mircea Vutcovici
- 17,619
- 4
- 56
- 83
-
-
-
When providing answers to questions you should not include anything that relies on an alias, as there is no reason to expect the same alias to exist on the other person's machine. – John Gardeniers Mar 22 '11 at 21:01
1
Two ways:
dir *test* /s/b
dir /s/b | findstr /i "test"
If you use findstr, you can use /i for case insensitive, /v lines that do not, /b match at beginning of line, /e match at end of line. So findstr is similar to grep. Also, dir /s/b/ad will only return directories while dir /s/b/a-d will only return files. dir /? and findstr /? will show the complete help.

jftuga
- 5,731
- 4
- 42
- 51