How to write a batch file on Windows that when the folder is less then 10MB, and delete it?
- by user28167
I have a Folder "myFolder", in the "myFolder", I have many sub folders, I know that if the sub folder is less than 10MB, it can my deleted. But instead of checking the folder step by step, how can I write a batch job to help me? thz.
Plz notice that I ONLY want to delete folders, not files, thz.