Newsgroups: microsoft.public.scripting.vbscript
From: Tom Lavedas <tglba...@cox.net>
Date: Fri, 30 Oct 2009 05:32:23 -0700 (PDT)
Local: Fri, Oct 30 2009 12:32 pm
Subject: Re: Write something while app runing
On Oct 30, 6:36 am, "Marta" <I301...@hotmail.com> wrote:
> Hi! i need your herp for following: Assuming the string of periods are to be displayed in a console window > My vbs launch an application: > I would like write something while the app is running because it can take > Thanks in advance! (at the command prompt), then something like this should do what you want when executed under the cscript.exe host ... Const HIDDEN_WINDOW = 0 allwaySinc = "syncappw.exe -s -m -lf ""c:\sinc_logs"" -e" Set oWMISrvc = GetObject("winmgmts:" _ n = 0 Function IsRunning(ProcessID, oWMISrvc) ' boolean (Watch for line wrapping in posting.) 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.
| ||||||||||||||