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: References: 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: 28 Date: Fri, 03 Mar 2006 03:11:45 GMT NNTP-Posting-Host: 64.59.135.176 X-Complaints-To: abuse AT shaw DOT ca X-Trace: pd7tw2no 1141355505 64.59.135.176 (Thu, 02 Mar 2006 20:11:45 MST) NNTP-Posting-Date: Thu, 02 Mar 2006 20:11:45 MST To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com On Thu, 02 Mar 2006 02:58:01 GMT in comp.os.msdos.djgpp, "Wes" wrote: >I'm getting this error whenever I run my program from a path that is longer >than 64 characters. From what I have been able to find through Google is >that this is the expected behavior for 16-bit applications >(http://support.microsoft.com/kb/q241712/). The Microsoft page, however, >does not mention if "16-bit Program" means a16-bit dos program or a16-bit >windows program. > >DJGPP is a 32-bit compiler, so does the compiled executable count as a >32-bit program? Does windows treat all dos programs as 16-bit? Is there a >way to flag the compiler to tell windows to treat it as a 32-bit program? > >Has anyone else seen this problem? What kind of work arounds have you found? Add "%L" instead of (default) "%1" after the application executable under Explorer/.../Folder Options/File Types/choose file type/Edit/{New,Edit}/Application. You should always create at least an open action, but if you also create other actions, you can make any one of them the default for that file type. -- 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