Hi,
I want to delete all directories whose name starts with abc and are x days old. I am using forfiles as below but not getting output. Please help :
forfiles /p location /m abc* /d -x /c "cmd /c IF @isdir == TRUE rd /Q @path"
forfiles /p location /m abc.* /d -x /c "cmd /c IF @isdir == TRUE rd /Q @path"