When I execute following line on CMD, it doesn't delete hidden files. What's wrong with this function?
For /r %%i in (*.mta) do del "%%i"
When I execute following line on CMD, it doesn't delete hidden files. What's wrong with this function?
For /r %%i in (*.mta) do del "%%i"
Don't do it in a loop.
del /S /A:H <folder_name> *.mta
deletes recursively in subfolders, with the attributes, hidden; help del
in cmd will give you more options.