ForFiles command breakdown
/p — indicates the pathname to start searching.
/s — instructs ForFiles to search inside subdirectories.
/d — specifies the last modified date for a file.
/c — instructs ForFiles to execute command, which needs to be wrapped in double-quotes, the default is "cmd /c del @file"
researchadmin said
ForFiles command breakdown
/p — indicates the pathname to start searching.
/s — instructs ForFiles to search inside subdirectories.
/d — specifies the last modified date for a file.
/c — instructs ForFiles to execute command, which needs to be wrapped in double-quotes, the default is "cmd /c del @file"