2011-10-24 95 views

回答

73

你要找的這個命令:

RMDIR [/S] [/Q] [drive:]path 
RD [/S] [/Q] [drive:]path 

    /S  Removes all directories and files in the specified directory 
      in addition to the directory itself. Used to remove a directory 
      tree. 

    /Q  Quiet mode, do not ask if ok to remove a directory tree with /S 

在你的情況下,只需使用/S 它會刪除整個目錄樹,但問用戶,如果它應該先行

相關問題