X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f From: Paul Wilkins User-Agent: Mozilla Thunderbird 0.6 (Windows/20040502) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.os.msdos.djgpp Subject: Re: DDJGPP+ RHIDE: 3 question References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Lines: 33 Message-ID: Date: Sat, 19 Jun 2004 23:09:55 +1200 NNTP-Posting-Host: 218.101.50.29 X-Complaints-To: abuse AT tsnz DOT net X-Trace: news02.tsnz.net 1087643403 218.101.50.29 (Sat, 19 Jun 2004 23:10:03 NZST) NNTP-Posting-Date: Sat, 19 Jun 2004 23:10:03 NZST Organization: TelstraClear To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Paul Wilkins wrote: > When executing "rhide test" the files are created in > c:\documents and settings\paul\ > > The trouble is that when you try to run your program you always get > Bad command or file name > > I know that this is because of the spaces in the path, but how to fix > (other than not have spaces). I have a solution. It's to use subst to create a virtual drive If for example I have a directory called c:\documents and settings\paul\my documents\programming I can place the following line in c:\autoexec.bat subst p: "c:\documents and settings\paul\my documents\programming" Then, I can use Windows explorer to navigate to c:\djgpp\bin where I right-click on rhide.exe, properties, program tab and set the working directory to p: Now with I Win+R rhide projectname it all happens where it should, and program executions all succeed, because the virtual drive removes all of the path name spacings. Do not use spaces in your filenames, but otherwise, all is good. -- Paul Wilkins