batch file - To delete folder starting with a same starting charecters in DOS -
i need delete folders in folder in 1 shot, , folders start common name, not end with. command del/rm this? tried wildcards didn't work.
c:\temp> rmdir hello*
--- directories starting charecters 'hello', didnt work
c:\temp> rmdir hello*.*
--- didnt work
from command line:
for /d %i in (hello*) rd "%i"
in batch file:
for /d %%i in (hello*) rd "%%i"
Comments
Post a Comment