New
#1
Batch script question
Hello,
I want make a batch script to delete a spefic folder on the C disk, but how can I get only that spefic folder? I got this:
It works currently for the Downloads folder, but how can I change that? :)Code:FOR /D %%p IN ("C:\USERS\%USERNAME%\Downloads\*.*") DO rmdir "%%p" /s /q cd C:\USERS\%USERNAME%\Downloads\ del *.* /q /s timeout /t 5 >nul 2>&1 /nobreak cls