Include "config.vbs" Sub Include(sInstFile) Dim oFSO, f, s Set oFSO = CreateObject("Scripting.FileSystemObject") Set f = oFSO.OpenTextFile(sInstFile) s = f.ReadAll f.Close ExecuteGlobal s End Sub Function BuildIos() Set WshShell = CreateObject("WScript.Shell") work_path = RemotePath&"/build" cmd = ssh + " -i "+key_pri+" -l "+User+" "+Ip + " " cmd = cmd + "cd "+work_path+";" cmd = cmd + "cd build-ios-remote;" cmd = cmd + "bash build_clean.sh "+RemoteWork BuildIos = WshShell.Run(cmd, 9, true) End Function ret = BuildIos() WScript.Echo(ret)