Jump to content

How To Delete Some Files?


XtremeMaC

Recommended Posts

Hi there

I want to write a command line which will delete all the subfolders and files in all of the temp folders either at start-up or at shutdown.

I know there is rmdir but since temp folders are windows system files I get and error saying they cannot be removed.

I can delete all the files in a folder and their sub-folders

by del /s /q *.* but dunno how to delete the sub-folders

any dos prompt geeks that could help?

sorry NEVERMIND I thought it didn't delete the sub-folder it did

move on :)

Edited by XtremeMaC
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...