Hi there,
I am trying to get a solution for above problem and I have no luck .
I need to have a batch file which moves to the parent folder and delete all files and directories containing a substring 'abc-client' except the one the file is stored in. I tried some for loops and some find with regex but no luck so far. Can you advice? I don't want to use powershell or so just plain dos commands... THANKS A LOT!
Batch Script to delete certain folders in parent folder
Moderator: DosItHelp
Re: Batch Script to delete certain folders in parent folder
billstaub wrote:except the one the file is stored in.
Can you clarify that.