Path: csiph.com!aioe.org!wIgm+2MIUUYkuZKIR0Uhug.user.gioia.aioe.org.POSTED!not-for-mail From: "R.Wieser" Newsgroups: microsoft.public.scripting.vbscript Subject: wshell.run on a datafile sometimes fails - what could be causing it ? Date: Thu, 8 Jul 2021 12:25:59 +0200 Organization: Aioe.org NNTP Server Lines: 15 Message-ID: NNTP-Posting-Host: wIgm+2MIUUYkuZKIR0Uhug.user.gioia.aioe.org X-Complaints-To: abuse@aioe.org X-RFC2646: Format=Flowed; Original X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5512 X-Priority: 3 X-Notice: Filtered by postfilter v. 0.9.2 X-Newsreader: Microsoft Outlook Express 6.00.2900.5512 X-MSMail-Priority: Normal Xref: csiph.com microsoft.public.scripting.vbscript:12355 Hello all, I've made a small script which uses "wscript.run" to open a few folders, a console window and open a datafile (implicitily running its executable). Each of those steps is seperated by a sleep of half a second. The script is manually started (by doubleclicking it). The thing is that /sometimes/ the datafile step fails, and all I hear is a single beep. I would like to know what causes it to fail, and what I can do against it. Regards, Rudy Wieser