Task Scheduler : How to delete files older than X days automatically - windows command prompt
On Windows 10, you can use Command Prompt and Task Scheduler to automatically delete files older than a certain number of days to free up space and keep your files organized.
command :
ForFiles /p "C:\path\to\folder" /s /d -30 /c "cmd /c del /q @file"
you can also filter files search with /M *.docx to delete only docx files.
#taskscheduler
#windows10
#windows11
#autodelete
#commandprompt
#forfiles
#tutorial
#trick
#tips
#automation
#deletefile
Видео Task Scheduler : How to delete files older than X days automatically - windows command prompt канала Newbie Computer
command :
ForFiles /p "C:\path\to\folder" /s /d -30 /c "cmd /c del /q @file"
you can also filter files search with /M *.docx to delete only docx files.
#taskscheduler
#windows10
#windows11
#autodelete
#commandprompt
#forfiles
#tutorial
#trick
#tips
#automation
#deletefile
Видео Task Scheduler : How to delete files older than X days automatically - windows command prompt канала Newbie Computer
Комментарии отсутствуют
Информация о видео
6 сентября 2021 г. 7:48:43
00:06:41
Другие видео канала