X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f X-Trace-PostClient-IP: 68.147.232.190 From: Brian Inglis Newsgroups: comp.os.msdos.djgpp Subject: Re: The system cannot execute the specified program Organization: Systematic Software Message-ID: <6r2h021u5i3t7i3ft2psuqnq84hofvjlsu@4ax.com> References: <7m_Nf.69$e1 DOT 2 AT tornado DOT socal DOT rr DOT com> X-Newsreader: Forte Agent 1.93/32.576 English (American) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 23 Date: Fri, 03 Mar 2006 18:33:25 GMT NNTP-Posting-Host: 64.59.135.176 X-Complaints-To: abuse AT shaw DOT ca X-Trace: pd7tw1no 1141410805 64.59.135.176 (Fri, 03 Mar 2006 11:33:25 MST) NNTP-Posting-Date: Fri, 03 Mar 2006 11:33:25 MST To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com On Fri, 03 Mar 2006 16:42:43 GMT in comp.os.msdos.djgpp, "Wes" wrote: >Thanks to everyone for their feedback. I'm limited to the solutions that >will work for me because of the circumstances. I am trying to use the dos >program by calling it from a Widget (see http://konfabulator.com). The >widget can access dos programs through a function that invokes a unix shell. >The problem occurs because the working directory for a widget is very far >down a chain of directories, and is not changable. > >I have a work around that is not very pleasant. By placing the dos >executable in the users root directory, I can work a call that can use it. >This solution creeps me out, because it looks so much like a virus at work. Create an MS Windows shortcut that invokes the program and sets the working directory, then run the shortcut (perhaps using "start") instead of running the program directly. -- Thanks. Take care, Brian Inglis Calgary, Alberta, Canada Brian DOT Inglis AT CSi DOT com (Brian[dot]Inglis{at}SystematicSW[dot]ab[dot]ca) fake address use address above to reply