web analytics

How to find a file or folder in Windows command Prompt?

Options

davegate 143 - 921
@2016-01-11 09:24:18

You can find any file on your computer using the following MS-DOS command 

dir.exe /s  something-to-find

The /s command switch to tell the dir command to search the current directory and all sub directories.

 

If you are unsure where the file may be on the computer, you must be at the root directory of the computer, that means you must be at

C:\> 

Once at the root directory or the directory you believe the file to be in, type any of the below commands.

c:\>dir /s yourfile*.*

You will utilize the wildcard, which in MS-DOS is the asterisks ( * ).

If you receive more than expected results, you may need to type /p after the command. Using /p displays the results one page at a time.

Comments

You must Sign In to comment on this topic.


© 2024 Digcode.com