www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 822] New: path

reply d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=822

           Summary: path
           Product: D
           Version: 1.00
          Platform: PC
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla digitalmars.com
        ReportedBy: m.melzer d-source.de


Hello,

i tried to compile with follow cmd like:

G:\Development\Script - D\Compiler\dmd\bin\dmd.exe G:\Development\Script -
D\Hello\src\h.d

an got error:
Error unrecognized switch '-'

So i think it's a bug. Another path without empty signs is ok.

cheerz
Mario Melzer


-- 
Jan 09 2007
next sibling parent torhu <fake address.dude> writes:
d-bugmail puremagic.com wrote:
 i tried to compile with follow cmd like:
 
 G:\Development\Script - D\Compiler\dmd\bin\dmd.exe G:\Development\Script -
 D\Hello\src\h.d
 
 an got error:
 Error unrecognized switch '-'
 
 So i think it's a bug. Another path without empty signs is ok.
 
 cheerz
 Mario Melzer
 
Try putting the file path in double quotes. G:\Development\Script - D\Compiler\dmd\bin\dmd.exe "G:\Development\Script - D\Hello\src\h.d"
Jan 09 2007
prev sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=822


bugzilla digitalmars.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID





Arguments with spaces in them need to be enclosed with double quotes "arg with
spaces".


-- 
Jan 09 2007