Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

Searching through a windows drive, looking for specific files

Posted on 2011-10-19
4
Medium Priority
?
222 Views
Last Modified: 2012-05-12
Is it possible to search through windows drive using DOS or best method

I am looking for .avi, .jpg and hidden files ?

drive is corrupt and I think in some cases holding inaccurate volume size
0
Comment
Question by:Europa MacDonald
  • 2
4 Comments
 
LVL 30

Expert Comment

by:flubbster
ID: 36992536
Sure, you can use the Dir command

For example:

dir *.jpg     will list all jpg file
dir *.jpg /s   will list all jpg files in the current folder and all subfolders
dir *.exe /w    will list all exe files in a wide format (files will be listed across the screen. It fits more files per page.

Here is a good reference for various switchwes for the dir command:
http://www.computerhope.com/dirhlp.htm
0
 

Author Comment

by:Europa MacDonald
ID: 36992586
would that search every folder on the drive or just the root ?
0
 
LVL 30

Accepted Solution

by:
flubbster earned 2000 total points
ID: 36992672
If you start at the root (c:\) and use the /s switch, it will search every folder and sub-folder

so, to search for a jpg file on the entire drive, you could execute this:

dir c:\*.jpg /s /p

/s = sub-folders
/p = pause after each full page of listings
0
 
LVL 31

Expert Comment

by:Dr. Klahn
ID: 36992737
If the drive is corrupt, then perhaps a drive recovery tool would be a better choice.  Most of them allow selection for specific file extensions, and also for file recovery by examined type -- i.e., the program examines the contents of the file to see what it actually is.  Personally I use R-Studio, but there are many equally good programs out there.  
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Employees depend heavily on their PCs, and new threats like ransomware make it even more critical to protect their important data.
Backups and Disaster RecoveryIn this post, we’ll look at strategies for backups and disaster recovery.
This tutorial will walk an individual through setting the global and backup job media overwrite and protection periods in Backup Exec 2012. Log onto the Backup Exec Central Administration Server. Examine the services. If all or most of them are stop…
Whether it be Exchange Server Crash Issues, Dirty Shutdown Errors or Failed to mount error, Stellar Phoenix Mailbox Exchange Recovery has always got your back. With the help of its easy to understand user interface and 3 simple steps recovery proced…
Suggested Courses

564 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question