|
| |||||||||
| Tags: batch file, vbscript |
![]() |
| | Thread Tools | Search this Thread |
|
#1
| |||
| |||
| VBscript to run batch file carry on running
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" |
|
#2
| |||
| |||
| Re: VBscript to run batch file carry on running
Can i use it any site while making it because i am making one site so i need it.please tell me about this all. |
![]() |
|
| Thread Tools | Search this Thread |
| |
Similar Threads for: "VBscript to run batch file carry on running" | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Shutdown window after running batch file | Jaiwanti | Operating Systems | 4 | 13-12-2010 06:25 PM |
| Running a batch file | Timbo | Vista Help | 4 | 26-09-2009 03:40 AM |
| Problems running batch file as scheduled task | pete0085 | Windows Server Help | 7 | 01-01-2009 03:15 PM |
| Windows scheduler: Running a batch file as another user? | Andrew Hodgson | Windows Server Help | 9 | 10-03-2008 10:48 AM |
| Running a batch file from another? | Linn Kubler | Windows Server Help | 2 | 28-02-2008 09:57 PM |