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

Popular posts from this blog

blackberry 10 - how to add multiple markers on the google map just by url? -

php - guestbook returning database data to flash -

delphi - Dynamic file type icon -