windows--bat--删除当前脚本del %0

上代码,将以下代码存储于test.bat

@echo off
del %0
pause

执行test.bat以后,发现test.bat文件就没了

你可能感兴趣的:(脚本)