Jump to content

To Search all drives and partitions for


Recommended Posts

Hi,

I want to search all my drives and partitions (including subdirs and hidden folders)

for *.bak and *.tmp-files using a batch file.

Is this possible and how can I do that?

Is there a searchcommand that can be used in a batchfile?

Thanks

Link to comment
Share on other sites


del /F /S /Q *.tmp

/P            Prompts for confirmation before deleting each file./F            Force deleting of read-only files./S            Delete specified files from all subdirectories./Q            Quiet mode, do not ask if ok to delete on global wildcard/A            Selects files to delete based on attributesattributes    R  Read-only files            S  System files               H  Hidden files               A  Files ready for archiving               -  Prefix meaning not
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...