Batch script to delete files

前端 未结 5 871
迷失自我
迷失自我 2020-12-24 04:16

I have a batch script as follows.

D:
del \"D:\\TEST\\TEST1\\Archive\\*.TSV\" 
del \"D:\\TEST\\TEST1\\Archive\\*.TXT\"
del \"D:\\TEST\\TEST2\\Archive\\*.TSV\"         


        
5条回答
  •  伪装坚强ぢ
    2020-12-24 04:57

    in batch code your path should not contain any Space so pls change your folder name from "TEST 100%" to "TEST_100%" and your new code will be del "D:\TEST\TEST_100%\Archive*.TXT"

    hope this will resolve your problem

提交回复
热议问题