So, I'm working on a bat file to delete a file, then find and delete a folder.
It deletes the file just fine, but I'm running into issues with the rest. The folder I'm trying to delete has a different name every time, but contains the same keyword at the start of the folder name every time.
The following line is working to find the folders in question, but I don't know how to actually delete the folder once found.
dir C:location*keyword*.* /S
Any help would be greatly appreciated.
P.S. I'm fine with a code that isn't made for .bat, but it will need to be set to run on startup if it isn't.
Recent Questions...
ما را در سایت Recent Questions دنبال میکنید
برچسب:
نویسنده: استخدام کار
بازدید: 334
تاريخ: دوشنبه
28 تير
1395 ساعت: 8:01