
批處理如何將不在線的用戶目錄刪除假設(shè)每個用戶名user1,user2,user3,user4....在c:document下有目錄user1,user2....現(xiàn)在把在線用戶名寫入文件file1,其顯示內(nèi)容為user1user3user4user7...現(xiàn)在把c:document下所有文件列表到文件file2,其顯示內(nèi)容為user1user2user3user4...現(xiàn)想根據(jù)file1,file2判斷:把不在線的用戶(即名字在file2出現(xiàn),但不在file1出現(xiàn)的用戶名)在c:document下對應(yīng)目錄刪除

