Correct option is C
The correct answer is: *(C) del .log /q
Explanation:
The command
**del *.log /q**deletes all.logfiles in the current directory silently, i.e., without asking for confirmation.The
/qswitch stands for quiet mode, which suppresses prompts to confirm file deletion.
Information Booster:
delis used to delete one or more files from the command prompt.*.logtargets all files with the.logextension./qsuppresses confirmation prompts for deleting read-only files as well.This command only deletes files, not directories.
It works within the current directory unless a path is specified.
Additional Information:
del *.log: Deletes.logfiles but may ask for confirmation depending on system settings.del *.log /p: Prompts before deleting each file (opposite of what the question asks).erase *.log: Also deletes.logfiles but may still prompt, depending on file attributes and settings.