Re: Command Shell capabilities

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Tony (thammond_at_edldayton.com)
Date: 03/25/04


Date: 25 Mar 2004 06:33:01 -0800

Hi KM,
1) Thanks, I'll look into those.
2) Using "start cmd /K MyApp.exe" worked great - I wasn't using the
"start" part of it. ("communication between the apps using sockets" =
my apps use Windows Sockets to talk to each other. That's how our
final app must communicate with other software we must use for this
project).

Thank you very much for the help!
- Tony H.

> Tony,
>
> 1) I guess there is a lot of way how to do that from API level. E.g. ToolHelp32 API, or even easier - PS API
> (EnumProcesses/OpenProcess/GetProcessMemoryInfo).
> Also, you can use WMI objects but it may be too heavy solution for Minlogon image.
>
> 2) Don't see a problem using "/K" switch (you may use "start cmd /K yourapp.exe").
> What did you mean by the communication between the apps using sockets?
> Do you just need to interprocess communication between your apps? Then there are a bunch of ways to do that in Windows (windows
> messages, named pipes, mailslots, DDE, clipboard, IPC, shared sections, etc.). Just search in MSDN for "interprocess communication".
>
> --
> KM,
> BSquare Corporation
>
> > Using a MinLogon setup and Command Shell, is there a way to
> >
> > 1) monitor approximate memory and/or other resource usage?
> >
> > 2) launch 2 console applications from a single CMD window? I tried
> > using "CMD MyApp.exe /K" to accomplish this, but it seemed that the
> > first application launched just goes off somewhere in la-la land and
> > the second application can't communicate with it (using sockets).
> >
> > Thanks!
> >
> > - Tony H.



Relevant Pages

  • Re: ooRexx - inter-program communication
    ... under Windows. ... I'm only considering pairs/triples/more of apps running on a single platform ... Can ooRexx programs communicate with each other? ... Are there any example programs showing use of sockets? ...
    (comp.lang.rexx)
  • Re: modem communication
    ... > i always wanted to use sockets for the communications, ... protocol - for the dialup/connect part. ... Windows 98 was never much of a Server OS. ... > difference is the protocol used in the communication.) ...
    (sci.electronics.design)
  • About Process Communication Implementation in Windows.
    ... In the book< Programming Application for miscrosoft windows>: ... These mechanisms[note:Process communication] include RPC, COM, OLE, ... mailslots, pipes, sockets, and so on. ... So the author means that RPC, OLE, OLE DDE, socket etc, they are all ...
    (microsoft.public.win32.programmer.kernel)
  • Re: Command Shell capabilities
    ... > my apps use Windows Sockets to talk to each other. ... >> What did you mean by the communication between the apps using sockets? ... Then there are a bunch of ways to do that in Windows (windows ...
    (microsoft.public.windowsxp.embedded)
  • Re: Command Shell capabilities
    ... you can use WMI objects but it may be too heavy solution for Minlogon image. ... What did you mean by the communication between the apps using sockets? ... Then there are a bunch of ways to do that in Windows (windows ...
    (microsoft.public.windowsxp.embedded)