I need help with a batch script that will delete 30 days old files from a folder automatically. I have read about forfiles and I am doing something wrong. I don't know where the file goes when I click on forfiles.exe. Anyways, if someone can help me with this, I would greatly appreciated it. Also, I have to setup a separate batch script that would delete folders older than 7 days and their subfolders and files. Thank you!
Free Guide: Managing storage for virtual environments
Complete a brief survey to get a complimentary 70-page whitepaper featuring the best methods and solutions for your virtual environment, as well as hypervisor-specific management advice from TechTarget experts. Don’t miss out on this exclusive content!