Jump to content

Batch file, deleting sub directories


Chris
 Share

Recommended Posts

Minds gone blank!

How do you delete subdirectories using a batch file?

For example: All those sub-dirs.

I can get the files within the sub-dirs to delete but not the actual sub-dir itself.

Directory of K:\Application Settings\Opera Settings\profile

02/04/2006 21:08 <DIR> .
02/04/2006 21:08 <DIR> ..
02/04/2006 19:45 <DIR> acpo
02/04/2006 20:07 <DIR> cache4
02/04/2006 20:07 <DIR> cacheOp
02/04/2006 20:07 <DIR> images
02/04/2006 19:44 <DIR> keyboard
02/04/2006 19:44 <DIR> menu
02/04/2006 19:44 <DIR> mouse
02/04/2006 20:06 <DIR> sessions
02/04/2006 20:06 <DIR> Skin
02/04/2006 20:06 <DIR> toolbar
02/04/2006 19:44 <DIR> UnInst

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy