Jump to content

Recommended Posts

Posted

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


Posted

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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

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