Search engine

Question by Mr. Help:
Is there a way to bypass deletion prompt in a Batch script?

For example if I want to clear the folder C:\Users\USER\Desktop\asd
I have to write in notepad Del C:\Users\USER\Desktop\asd and save as whatever.bat, then run
But then it prompts me for a confirmation. Is there a way to bypass prompting?


——————————————

Answer by Huge S
del /q will probably give you what you need.

you can do a “del /?” at a command prompt to see all of the available options.

——————————————
Know better? Leave your own answer in the comments!