📜  如何自删除 vbscript 文件 - VBA 代码示例

📅  最后修改于: 2022-03-11 14:51:54.112000             🧑  作者: Mango

代码示例1
discardScript()
    Function discardScript()
        Set objFSO = CreateObject("Scripting.FileSystemObject")
        strScript = Wscript.ScriptFullName
        objFSO.DeleteFile(strScript)
    End Function