Started 2 days, 23 hours ago (2009-11-12 09:03:00)
by Bruce Eitman [eMVP]
CreateProcess(TEXT("cmd.exe"), TEXT("/c mybat.bat")... should do it. If you
want the window to stay open when the bat file completes try:
CreateProcess(TEXT("cmd.exe"), TEXT("/k mybat.bat")...
--
Bruce Eitman (eMVP)
Senior Engineer
Bruce.Eitman AT Eurotech DOT com
My BLOG http://geekswithblogs.net/bruceeitman...
Forum:
microsoft.public.windowsce.embedded.vc

Thread: Show this thread (3 posts)
Size: 1,519 bytes
Related Threads: Same Site | All Sites
Customize:
Thread: Show this thread (3 posts)
Related Threads: Same Site | All Sites
Customize:

