什不可以: shell "C:\abc.vbs"
什不可以: shell "C:\abc.vbs "
一定要 shell "C:\abc.exe "?
如何用vb行 C:\abc.vbs
可不可我一code
[解决办法]
Private Declare Function ShellExecute Lib "shell32.dll " Alias "ShellExecuteA " (ByVal hwnd As Long, ByVal lpOperation As String, ByVal lpFile As String, ByVal lpParameters As String, ByVal lpDirectory As String, ByVal nShowCmd As Long) As Long