📅  最后修改于: 2022-03-11 14:51:57.708000             🧑  作者: Mango
Sub cmdWinOpen()
Dim res
Dim shell As Object
Set shell = VBA.CreateObject("WScript.Shell")
res = shell.Run("cmd /k " & "your command")
End Sub