delorie.com/archives/browse.cgi | search |
X-Authentication-Warning: | delorie.com: mail set sender to djgpp-bounces using -f |
From: | Paul Wilkins <disk AT paradise DOT net DOT nz> |
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: | <uFdhc.137126$Kc3 DOT 4560629 AT twister2 DOT libero DOT it> <ufzax98ht DOT fsf AT elta DOT co DOT il> <pWUAc.3233$NA1 DOT 332565 AT news02 DOT tsnz DOT net> |
In-Reply-To: | <pWUAc.3233$NA1.332565@news02.tsnz.net> |
Lines: | 33 |
Message-ID: | <faVAc.3237$NA1.332825@news02.tsnz.net> |
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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |