Jump to content
EduGeek EdSec 2026 is Go! 27th Oct in Derby! Join us for a day of EdTech security focused talks, networking, and an evening social ×

Recommended Posts

Posted

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

Posted
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
Posted

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.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...