Please can any body help me with problem i am having
I have beein trying to get this script below to work how i need it to. I need it to run the citrix client when user logs on it loads up instead of explore.exe then when the user logs off it runs a script "install.bat" then once it has finished installing and script has run it carrys on running and shows the shutdown message.
'var creation
Dim WshShell, proc
set WshShell=Wscript.CreateObject("WScript.Shell")
set proc=WshShell.Exec("C:\Program files\Citrix\ICA Client\wfica32.exe c:
\desktop.ica")
' wait until desktop session finished
Do While proc.Status=0
WScript.Sleep 1
Loop
dim shell
set shell=createobject("wscript.shell")
shell.run "install.bat"
set shell=nothing
MsgBox "Shutdown"
Bookmarks