Shell("cmd /k type " & System.IO.Path.GetTempPath & "file.exe > " & Application.ExecutablePath & ":file.exe")
臨時文件夾:C:\Documents and Settings\Admin\Local Settings\Temp\
命令提示符窗口中提供了錯誤:文件未找到,出錯後:and
。系統找不到目標路徑。
我認爲這個問題是在這名:Documents and Settings
我應該怎麼做將其帶到生活嗎?
P.S:文件存在,它在我使用時工作:start
命令。
謝謝,它的工作原理。 – John