I am using this code for deleting but it is not working.
Please find the code below.
Current code:
@Echo off
forfiles /p "G:\ABC" /s /m *.* /c "cmd /c Del @path" /d - 5
If I want to do this process in a shared drive then what should be the specific code.