On Apr 18, 2:43 pm, "Ignacio Machin \( .NET/ C# MVP \)" <machin TA
laceupsolutions.com> wrote:
> Hi,
>
> "kirk" <kir...@gmail.com> wrote in message
>
> news:(E-Mail Removed)...
>
> > Now lets say I have maybe a batch/jscript somewhere and it wants to do
> > some work and then send a command off to my tray app to tell it "turn
> > on monitoring", how would I do this? If I were using another EXE(not
> > a batch/jscript) outside of the tray app, I guess I could used named
> > pipes, to be clean, any other ideas when not using an EXE?
>
> You could include an EXE as the first step of the batch to send the command
>
Thanks Ignacio. Thats what I had in mind, just not the "extra" EXE
part.
I think I have a clever idea; I will use named pipes, allow the same
EXE that starts up the tray app to run a second instance if called
again, but only to do named pipes communication with the first
instance, then force the second instance to terminate. I think this
will work?