Xref: utzoo comp.windows.ms.programmer:1451 comp.os.msdos.misc:1502 Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!zaphod.mps.ohio-state.edu!ceres.physics.uiowa.edu!iowasp.physics.uiowa.edu!ns-mx!ccad.uiowa.edu!cadsi From: cadsi@ccad.uiowa.edu (CADSI) Newsgroups: comp.windows.ms.programmer,comp.os.msdos.misc Subject: Re: How to force windows startup at run time? Message-ID: <1991Mar20.144518.22250@ccad.uiowa.edu> Date: 20 Mar 91 14:45:18 GMT References: <1991Mar19.124646.24338@runx.oz.au> Organization: CAD-Research, U. of Iowa, Iowa City, Iowa Lines: 22 From article <1991Mar19.124646.24338@runx.oz.au>, by philipc@runx.oz.au (Philip Craig): > Hi netters, > I've noticed that Word for Windows and Excel are both able to force > Windows to start up if they are run from the DOS prompt. I was wondering > if anyone knows how I could force my own program to do this? > > Please reply to me by e-mail as it reaches me three weeks more quickly than > this newgroup does (seriously). I will summarize to the net. write your own stub program that exec's Windows with the given program as the first parameter. argv[0] should be win, argv[1] could be "/3" or "/s" or "/r" or nothing. The next argv should be the program you wanna run under Windows. Tom Hite |----------------------------------------------------------------------------| |Tom Hite | The views expressed by me | |Manager, Product development | are mine, not necessarily | |CADSI (Computer Aided Design Software Inc. | the views of CADSI. | |----------------------------------------------------------------------------|