How To Get List Of Same File Type Through Command Prompt

How To Get List Of Same File Type Through Command Prompt

Today i am working on some project, at a sudden i am stuck with a problem.That how can i get a list of same file type from a directory or drive through my command prompt command.

At last i found a solution for this.

1. Open command prompt.

2. Go to the directory or drive from which you want to get your files list.

3. Run the following command and you will get your result.

C:\>dir /s /b *.xls 

Above query will display all the files that have .xls format on the C drive.