Go Back   TechArena Community > Software > Software Development
Become a Member!
Forgot your username/password?
Register Tags Active Topics RSS Search Mark Forums Read SiteMap

Tags: ,

Sponsored Links



VBscript to run batch file carry on running

Software Development


Reply
 
Thread Tools Search this Thread
  #1  
Old 11-02-2010
Member
 
Join Date: Feb 2010
Posts: 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"
Reply With Quote
  #2  
Old 12-02-2010
Seoconsultant786
 
Posts: n/a
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.
Reply With Quote
Reply

  TechArena Community > Software > Software Development


Thread Tools Search this Thread
Search this Thread:

Advanced Search


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


All times are GMT +5.5. The time now is 11:31 AM.