Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!sdd.hp.com!hplabs!hpfcso!hpfinote!pnl From: pnl@hpfinote.HP.COM (Peter Lim) Newsgroups: comp.windows.ms Subject: Re: How to Change directory before running an application ? Message-ID: <18950026@hpfinote.HP.COM> Date: 17 Sep 90 21:01:06 GMT References: <46093.26f21662@vaxc.cc.monash.edu.au> Organization: Hewlett Packard CICD Lines: 21 > To do that, i need to do a chdir operation. I've tried chdir from the C library, > followed by WinExec, but it doesn't work. I've tried prepending the directory > name to the application name and calling WinExec. That also doesn't work. > What about WinExec (chdir followed by the command) ? Problem is can you pass two command to one WinExec ?? Sorry, my Windows programming is still in its infancy. Just trying a long shot here. :-). Regards, ## Life is fast enough as it is ........ Peter Lim. ## .... DON'T PUSH IT !! >>>-------, ########################################### : E-mail: plim@hpsgwg.HP.COM Snail-mail: Hewlett Packard Singapore, : Tel: (065)-279-2289 (ICDS, ICS) | Telnet: 520-2289 1150 Depot Road, __\@/__ ... also at: pnl@hpfipnl.HP.COM Singapore 0410. SPLAT ! #include