|
|
|
date: Fri, 24 Aug 2007 01:20:04 -0700,
group: microsoft.public.win32.programmer.tools
back
Re: An EXE that does exactly the same job as ShellExecute
"beil" wrote in message
news:50E8500C-5F15-4C4C-946F-99E56558C9C2@microsoft.com...
> Hi there,
>
> Is there any exe file in window which launches programs exactly
> the same way ShellExecute() does?
>
> I know "cmd.exe" works somewhat similar, but I'm not quite sure
> if it works exactly the same way.
>
> In short, I'm wondering if there is a program like this:
>
> WinMain( ..., lpCmdLine, ... )
> {
> return ShellExecute( ..., lpCmdLine, ... );
> }
>
> And yes, I am lazy enough to avoid writing even this simple program...
It's not likely that any easily available program does exactly that
because it is so simple that it isn't worthwhile. There would likely be at
least some parsing of the command.
If that's what you want, why can't you simply use CMD.exe? The results
should be equivalent for most commands.
--
- Gary Chanson (Windows SDK MVP)
- Abolish Public Schools
date: Fri, 24 Aug 2007 10:28:24 -0400
author: Gary Chanson
|
|