(imported topic written by amagewick91)
I have a task that I am current writing, and in part of that task I would like to create multiple VBS files within the action and then run them based on what member group the client is in. I would like to know how to properly create, move, run and delete them in the action.
Here is one example of a VBS file. Each file name and “shell.run” line will be a little different.
intAnswer = Msgbox("Message", vbOKCancel)
If intAnswer = vbOK Then
dim shell
set shell=createobject("wscript.shell")
shell.run "\\domain\netlogon\SAPINSTALL_61.vbs"
set shell=nothing
Else
End If
How can this be done?
Thanks!