Jump to content

bassi2402

Members
  • Posts

    2
  • Joined

  • Last visited

Reputation

0 Neutral

About bassi2402

  1. 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"
  2. 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"
×
×
  • Create New...