Batch file. Delete all files and folders in a directory

前端 未结 14 1351
无人共我
无人共我 2020-11-30 19:20

I want to have a batch file that will delete all the folders and files in my cache folder for my wireless toolkit.

Currently I have the following:

cd         


        
14条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-11-30 19:35

    Better yet, let's say I want to remove everything under the C:\windows\temp folder.

    @echo off
    rd C:\windows\temp /s /q
    

提交回复
热议问题