Does anyone know a script to run a exe? If so coul dyou post it on here.
Thanks
Does anyone know a script to run a exe? If so coul dyou post it on here.
Thanks

What scripting language would you like?
http://weblogs.asp.net/steveschofiel.../14/89240.aspx
Ben
am after vbs
For what scenario?
At login?
Exactly what do you want the script to do.. a script to launch a program is easy enough:
Code:dim commandLine, WshShell commandLine = "calc.exe" Set WshShell = CreateObject("WScript.Shell") call WshShell.Run (commandLine,8,true) set WshShell=nothing
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
Will a shortcut not do?
If you have an "installer" account, add this to the login script...
\\ServerName\Path\AppName.exe
It should load automatically.
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.

Could you not run the patch remotely by using something like Xcmd.exe???
Ben
There are currently 1 users browsing this thread. (0 members and 1 guests)