Re: delete folders with wildcards

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



RMDIR S*

option is not working , i think , RMDIR command does not support wildcards,

Please help me to search the answer,


"Elmo" wrote:

Vijay wrote:
I want to remove folders which start with "s" characters; I want to use
wildcards to remove folders. Please tell me which command I should use in
command prompt. I am using XP sp2. Folder location is c:\ (c drive)

Type in RMDIR /? to see the required syntax. To remove those pesky
folders, such as "System Volume Information" from the C:\ root folder,
consider this command:

RMDIR S*

Have your XP install CD and all backups nearby, of course.. there is no
Undelete command in XP.

--
Joe =o)

.



Relevant Pages