a.vbs
dim wsh Dim objFileSystemObject Dim strFolderPath set wsh = CreateObject( "WScript.Shell" ) Set objFileSystemObject = WScript.CreateObject("Scripting.FileSystemObject") strFolderPath = objFileSystemObject.GetFolder(".").Path wsh.CurrentDirectory = "C:\Users\hoge\Desktop\hoge" wsh.Run "b.vbs"
▽1
●
うぃんど ●300ポイント ベストアンサー |
wsh.CurrentDirectory = strFolderPath & "\hoge"