How to force delete files in the folder automatically without pressing Y to make sure in batch?

Viewed 7050

I am running the following batch program, uninstall.bat

@echo off
cls

cd\
del /f "c:\system\folder\*"
cls
echo uninstall successful
pause
exit

when i am running this program it asks,

c:\system\folder\*, Are you sure (Y/N)?

But, i don't want these warning prompts. i want it to delete without asking Are you sure warning message.

Note: i must need force delete option /f

Please help me guys. Lot of thanks in advance.

2 Answers
Related