Newsgroups: microsoft.public.scripting.wsh
From: "Tom Tyson" <n...@spam.org>
Date: Mon, 2 Nov 2009 13:06:41 +0100
Local: Mon, Nov 2 2009 12:06 pm
Subject: Script running infinitely when calling wscript.exe from code
Hi, I have the following problem:
The following call suddenly causes the script to run infinetely: CreateObject("Wscript.Shell").Run "wscript.exe " & It seems it calls the script over and over, but there is only one instance I have been using the script in which I use this for ages and it always Please see the following example of how I use the call: -------------- Main Sub Main() If Instr(1, Wscript.FullName, "cscript", 1) = 0 Then End Sub This used to work and i did not modify anything! Regards, You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||