timbo343 Posted September 26, 2007 Posted September 26, 2007 Does anyone know a script to run a exe? If so coul dyou post it on here. Thanks
plexer Posted September 26, 2007 Posted September 26, 2007 What scripting language would you like? http://weblogs.asp.net/steveschofield/archive/2004/03/14/89240.aspx Ben
apeo Posted September 26, 2007 Posted September 26, 2007 Exactly what do you want the script to do.. a script to launch a program is easy enough: dim commandLine, WshShell commandLine = "calc.exe" Set WshShell = CreateObject("WScript.Shell") call WshShell.Run (commandLine,8,true) set WshShell=nothing
timbo343 Posted September 26, 2007 Author Posted September 26, 2007 just to run a program when you double click on the script, saves looking for a program in the servers. Ie, if we had to run round most computers and install a little patch as we dont install things via group policy here
GlennT Posted September 26, 2007 Posted September 26, 2007 If you have an "installer" account, add this to the login script... \\ServerName\Path\AppName.exe It should load automatically.
apeo Posted September 26, 2007 Posted September 26, 2007 Installing things manually... eek! Im sure you've already tried this but if the setup has a silent option, you could just set gp to run the setup when the compy boots up or you could create an msi and deploy that. If you want something you just want to double click you dont really need a vbscript to do that, a batch would do.
plexer Posted September 26, 2007 Posted September 26, 2007 Could you not run the patch remotely by using something like Xcmd.exe??? Ben
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now