4 ms·
Using "dir" on the Windows command line can do a simple search. It is on every Windows machine and easy to use. It is not the fastest but it can be useful. Am
by morninglight 5y ago
Using "dir" on the Windows command line can do a simple search. It is on every Windows machine and easy to use. It is not the fastest but it can be useful. Amazing how few people know how to use it. Just type "help dir" from the Windows command line.
- billforsternz 5y agoYes, dir /s file Looks for the file in the current directory and all subdirectories. I wish Unix ls could do the same thing as easily. MS-DOS rules forever I guess.
- snoopen 5y agoI think 'find ./ -iname file' does the same on Linux?
- billforsternz 5y agoMy comment was light-hearted and I was surprised it was downvoted. I mean obviously Unix can so this simple function, but the ls command can't I don't think, which is my only claim. And many people don't realise that the MS-DOS equivalent to ls can do it.
- Tajnymag 5y agoUsing globbing, this can still be done without learning find's syntax.
- auxym 5y agoor `gci -rec` in powershell
- majkinetor 5y agoEverything has es CLI tool that searches instantly.