Delete files using batch script. Delete files in Home folders and Drive (Windows10/7) CMD script Note:- Please test this script on a virtual Windows 10/7 environment. Do not attempt to run it on a non-native batch system, as any damage incurred may not be recoverable. Before testing, carefully review the script and make any necessary adjustments. Telegram post: https://t.me/efxtv/2842 Usage of the script:- With a single click, you can delete files with selected extensions in the home folders of the C: drive, as well as on the E:\ and F:\ drives. # Save the script as delete.bat in Windows10/7 @echo off setlocal enabledelayedexpansion set "target_exts=jpg exe" set "drive=C:\Users\%USERNAME%\" set "drives=E:\" set "drivess=F:\" :: Delete in Downloads Desktop Music Picture etc for %%X in (%target_exts%) do ( for /r %drive% %%F in (*%%X) do ( del "%%F" /q /f > nul 2>&1 ) ) :: Delete in drive E:\ for %%X in (%target_exts%) do ( for /r %drives% %%F in (*%%X) do ( del "%%F" /q /f > nul 2>&1 ) ) :: Delete drive F:\, You can create many for %%X in (%target_exts%) do ( for /r %drivess% %%F in (*%%X) do ( del "%%F" /q /f > nul 2>&1 ) ) echo Deletion process completed. pause ▬▬▬▬▬▬⋆★⋆ ▬▬▬▬▬▬ One time fee life time access 🗺 | DM: @errorfix_tv ▬▬▬▬▬▬⋆★⋆ ▬▬▬▬▬▬