How To Delete Files And Folders With A Batch File

Описание к видео How To Delete Files And Folders With A Batch File

list of my created websites: https://jebbidanyt.000webhostapp.com/
my main website: https://jebbidan.editorx.io/hadsis

the code:

@echo off
cd /d "enter your directory here"
cls
title delete files and fodler
echo deleting...
echo.
echo please wait!
for /F "delims=" %%i in ('dir /b') do (rmdir "%%i" /s/q || del "%%i" /s/q)
del . /q
rem the "del" command is useful for deleting files
rem the "*.*" argument on the del command is useful for deleting every types of file
rem this command: for /F "delims=" %%i in ('dir /b') do (rmdir "%%i" /s/q || del "%%i" /s/q)
rem is useful for deleting every files in a directory

Комментарии

Информация по комментариям в разработке