1

Are there any utility find commands that you can download and use in DOS which match the UNIX find command?

Marcus Leon
  • 141
  • 1
  • 7

3 Answers3

1

You can use: dir ipconfig.* /s/p

Mircea Vutcovici
  • 17,619
  • 4
  • 56
  • 83
1

Cygwin will provide you a fairly featured *nix environment in Windows.

http://www.cygwin.com/

Hyppy
  • 15,608
  • 1
  • 38
  • 59
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