How to make a batch file delete itself?

前端 未结 9 959
遇见更好的自我
遇见更好的自我 2020-11-28 06:07

Is it possible to make a batch file delete itself?

I have tried to make it execute another file to delete it but this did not work.

Does any one know how I cou

9条回答
  •  佛祖请我去吃肉
    2020-11-28 06:18

    You can use del (name) if it on the desktop otherwise use del (path to file ex. del C:\WINDOWS.

    P.S Does not make error msg

提交回复
热议问题