Situatie
To use the default mode, you use /n
followed by a search path:
- To search for a file named document.docx, you’d use
/n document.docx
. You can also specify a full path to the file, such as/n \Users\Bob\Documents\document.docx
- To search for all files that were in the Documents folder if your username is Bob, you’d use
/n \Users\Bob\Documents
. - To search with a wildcard, use a *. For example
/n \Users\Bob\Documents\*.docx
will find all DOCX files there were in the Documents folder.
Solutie
Pasi de urmat
Let’s put that all together now. To search for all DOCX files on drive C: and copy them to drive D:, you’d run the following command:
winfr C: D: /n *.docx As we mentioned above, you’ll find the recovered files in a directory named “Recovery_[date and time]” on the destination drive you specified in the command line.
To find all files with a word in their name, use wildcards. So, to find all documents with “project” anywhere in their name, you’d run:
winfr C: D: /n *project*
You can specify multiple searches with multiple /n
switches. So, to find all Word, Excel, and PowerPoint files, you’d run the following:
winfr C: D: /n *.docx /n *.xlsx /n *.pptx
To search for a specific file named important_document.pdf that was in the \Users\Bob\Documents folder on drive C:—and then save it to drive D:—you’d use:
winfr C: D: /n \Users\Bob\Documents\important_document.pdf
Leave A Comment?