1.

Solve : Yes or No reply?

Answer»

Hi

Ive done a batch job to perform some tasks, one being to delete FILES in a folder. I did this with "DEL *.*" however it ASK "Are you sure (Y/N)"

So my question is: What is the command to use to if I need my reply to be Y averytime.

Regards
Sounds abit SUSS... Anyway this is how you do it

Code: [Select]Echo y | del PATH\file
Hope this helps!Hi Twiceborn

It worked ok, thanks for the help and quick reply.

Regardsdel has the /Q (quiet) mode
see hereCool thanks, i NEVER knew of the /Q para cheers!



Discussion

No Comment Found