Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VBS stopped working

Status
Not open for further replies.

oscarse

Programmer
Apr 9, 2006
99
CA
I have been using a vbs script for years and today after doing an VFP SP2 and Windows XP updates it is no longer running ... no indication of why ... no event logs ... Any IDEAS?

Dim oShell
Set oShell = WScript.CreateObject ("WSCript.shell")
rem oShell.run "C:\dct\instance 1"
oShell.run "c:\dct\myprogram someparams"
wscript.sleep(1000)
rem oShell.run "C:\dct\instance 2"
oShell.run "c:\dct\myprogram somemoreparams"
wscript.sleep(1000)
 
There were no error messages ... I have reloaded Wscript 5.6 from MS's site and it is now working again.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top