How to? Skip removing directory (RMDIR) without error message

Oct 20, 2017
RMDIR or RD with /S asks "Are you sure (Y/N)?"

Enter "Y" and RMDIR deletes the directory, subdirectories and files in it. No problem.

Enter "N" and RMDIR gives the error message "The directory is not empty" and terminates the batch file instead of not executing RMDIR and proceeding with the next line in the batch file.

Question: How the skip this error message?