Skip to main content
added 20 characters in body
Source Link
Anton
  • 1.2k
  • 11
  • 19
RMDIR path_to_folder /S 

ex. RMDIR "C:\tmp" /S will prompt

Note that you'll be prompted if you're really going to delete the "C:\tmp" folder. Combining it with /Q switch will remove the folder silently (ex. RMDIR "C:\tmp" /S /Q)

RMDIR path_to_folder /S 

ex. RMDIR "C:\tmp" /S will prompt if you're really going to delete the "C:\tmp" folder. Combining it with /Q switch will remove the folder silently (ex. RMDIR "C:\tmp" /S /Q)

RMDIR path_to_folder /S 

ex. RMDIR "C:\tmp" /S

Note that you'll be prompted if you're really going to delete the "C:\tmp" folder. Combining it with /Q switch will remove the folder silently (ex. RMDIR "C:\tmp" /S /Q)

Source Link
Anton
  • 1.2k
  • 11
  • 19

RMDIR path_to_folder /S 

ex. RMDIR "C:\tmp" /S will prompt if you're really going to delete the "C:\tmp" folder. Combining it with /Q switch will remove the folder silently (ex. RMDIR "C:\tmp" /S /Q)