rem Enter into top level folder, process it and go back to original folder
rem For each folder in this level
for /D %%a in (*) do (
rem Enter into it, process it and go back to original
rem If is the target folder, delete it
if /I "%%a" == "downloads" (
del /Q "%%a"\*.*
I need to convert this to a vbs or exe so I can run it in the background with scheduled task. AS of current, I can make it run but it shows the command window (black screen) and disrupts the users workflow. I can not figure out how to hide it as there isn't an option.