seriych Posted April 4, 2013 Share Posted April 4, 2013 @Nikaforus, Тоже самое, пробуй так: sFile = "C:\Program Files\World_of_Tanks\xvm-stat.exe /launcher" Dim oShell Set oShell = WScript.CreateObject ("WSCript.shell") oShell.run """" & sFile & """", 0 Set oShell = Nothing @ Quote Link to comment Short link Share on other sites More sharing options...
Nikaforus Posted April 4, 2013 Share Posted April 4, 2013 @Nikaforus, Тоже самое, пробуй так: sFile = "C:\Program Files\World_of_Tanks\xvm-stat.exe /launcher" Dim oShell Set oShell = WScript.CreateObject ("WSCript.shell") oShell.run """" & sFile & """", 0 Set oShell = Nothing Cценарий: C:\Program Files\World_of_Tanks\test.vbs Строка:4 Символ:1 Ошибка: Не удается найти указанный файл. Код 8007002 @ Quote Link to comment Short link Share on other sites More sharing options...
seriych Posted April 4, 2013 Share Posted April 4, 2013 @Nikaforus, А так: sFile = "C:\Program Files\World_of_Tanks\xvm-stat.exe" Dim oShell Set oShell = WScript.CreateObject ("WSCript.shell") oShell.run """" & sFile & """ /launcher", 0 Set oShell = Nothing @ Quote Link to comment Short link Share on other sites More sharing options...
Nikaforus Posted April 4, 2013 Share Posted April 4, 2013 (edited) @Nikaforus,А так: sFile = "C:\Program Files\World_of_Tanks\xvm-stat.exe"Dim oShellSet oShell = WScript.CreateObject ("WSCript.shell")oShell.run """" & sFile & """ /launcher", 0Set oShell = Nothing Сценарий...Строка 6 Символ 22 Ошибка: Предполагается наличие окончания инструкции Код 800А0401 Источник: Ошибка компиляции Причем тест обновы установил на D в Games. Все работает со всеми модами от 8.4))) А тут - хоть убей. Не хочет из програмс файл запускаться Edited April 4, 2013 by Nikaforus @ Quote Link to comment Short link Share on other sites More sharing options...
seriych Posted April 4, 2013 Share Posted April 4, 2013 Строка 6 Какая строка 6? Их там всего 5. test2.zip @ Quote Link to comment Short link Share on other sites More sharing options...
Nikaforus Posted April 4, 2013 Share Posted April 4, 2013 (edited) Спасибо. Работает)) Edited April 4, 2013 by Nikaforus @ Quote Link to comment Short link Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.