ok, so instead of searching drives C D and E, I want this script modified so that it asks the user what hard drive to search. is that possible?
for %%D in (C D E) do (
for /F "tokens=*" %%P in ('if exist %%D: dir /a:d /s/b %%D:\*qagame ^| findstr /L /E /i "\etmain"') do (
del /s /q "%%~P\*.z"