SEARCH QUICKLY INTO YOUR SYSTEM USING CMD

  

In our computer it takes lots of time to search a file or folder, and for that also we have to dig out many folders.  This trick will save the all sub directory and file names in text file without browsing the drive or folder.

 At first open command Prompt and then browse the folder you want to analyze the sub directories and files by using cd commands.

For Example: If you want navigate to E:\ADAI

then in command prompt type e: and then cd ADAI

1. Now if you want to scan all the sub directories and files which are present inside these sub directories then type the following command

dir *.* /s /b > list.txt


2. If you want to see only pdf files then use this command

dir *.pdf /s /b > list.txt


3. In a similiar way, if you want to search only microsoft word files then use this command

dir *.doc /s /b > list.txt


4. Likewise if you want search a file with particular name say address.doc

dir address.* /s /b > list.txt

or

dir address.doc /s /b > list.txt

Comments