Dim result As String result = Cmd(“ipconfig") Debug.Print(result) 這樣會印出所有CMD上面的內容,是不是很酷呢? 快去試試看吧! 所有的CMD指令都可以這樣用喔。
jeremy.ssinrc.org