Question Locked

Help Writing a Script

0 helpful
2 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
I am new to scripting and I want to create a WHS logon script to run a .exe. can anyone point me in the right direction?

2 replies

by lowlands

Set oWshShell = WScript.CreateObject("WScript.Shell")
sCommand = "yourexe.exe"

oWshShell.Run(sCommand)

This discussion is closed to new replies.