Re: Command Shell capabilities
From: Tony (thammond_at_edldayton.com)
Date: 03/25/04
- Next message: Slobodan Brcin \(eMVP\): "Re: custom shell starts before all services loaded"
- Previous message: Bruce Backus: "Re: Stop detecting serial mice?"
- In reply to: KM: "Re: Command Shell capabilities"
- Next in thread: KM: "Re: Command Shell capabilities"
- Reply: KM: "Re: Command Shell capabilities"
- Messages sorted by: [ date ] [ thread ]
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.
- Next message: Slobodan Brcin \(eMVP\): "Re: custom shell starts before all services loaded"
- Previous message: Bruce Backus: "Re: Stop detecting serial mice?"
- In reply to: KM: "Re: Command Shell capabilities"
- Next in thread: KM: "Re: Command Shell capabilities"
- Reply: KM: "Re: Command Shell capabilities"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|