Absolute path when using erlc on windows errors out.

Per Bergqvist <>
Mon Nov 11 09:47:58 CET 2002


Hi,                                                                   
                                                                      
This is a well known problem under windows and is caused by incorrect 
qouting of parameters in Erlang (and yes, in the end caused by MS as  
everything else ...).                                                 
                                                                      
A couple of years ago I posted a kit for native building of Erlang on 
windows using cygwin.                                                 
Included was a corrected version of argument quoting.                 
                                                                      
Unfortunately I didn't bring anything when leaving that job so if     
somebody have a copy of the posting you can probably move it up       
to R9 with ease.                                                      
(And please send me a copy).                                          
                                                                      
/Per                                                                  
                                                                      
> This looks like a simple MSDos error. The space between Program and 
Files is                                                              
> not parsed correctly. I have no Windows 2000 to experience with, but
> brobably you can                                                    
> put erlc in a different path and see if the problem remains.        
>                                                                     
> /Thomas                                                             
>                                                                     
>                                                                     
> ---                                                                 
> FMICS 03, June 5-7 in Trondheim.                                    
> Call for papers: http://www.inrialpes.fr/vasy/fmics/workshop-8/     
>                                                                     
>                                                                     
> Dr Thomas Arts                                                      
>      Program Manager                                                
>      Software Engineering and Management                            
> IT-university of Gothenburg                                         
> Box 8718, 402 75 Gothenburg, Sweden                                 
>                                                                     
> Tel +46 31 772 6031                                                 
> Fax +46 31 772 4899                                                 
>                                                                     
>                                                                     
> ----- Original Message -----                                        
> From: "Eric Merritt" <>                          
> To: <>                                   
> Sent: Saturday, November 09, 2002 11:18 PM                          
> Subject: Absolute path when using erlc on windows errors out.       
>                                                                     
>                                                                     
> > Everyone,                                                         
> >                                                                   
> >  I have what I hope is a quick question for you all.              
> > It seems that when I use a full path to execute the               
> > erlc command on windows 2000 it errors out. It works              
> > just fine in other cases however. For example if I use            
> >                                                                   
> > "C:\Program Files\erl5.2\bin\erlc.exe"                            
> > some_erlang_file.erl                                              
> >                                                                   
> > I will get an "erc: Error executing 'C:\Program':22"              
> >                                                                   
> > Once again it works fine if I leave the path off of               
> > the erlc command.                                                 
> >                                                                   
> > Does anyone have a clue as to why this might be?                  
> >                                                                   
> > Thanks,                                                           
> > Eric                                                              
>                                                                     
>                                                                     
=========================================================             
Per Bergqvist                                                         
Synapse Systems AB                                                    
Phone: +46 709 686 685                                                
Email:                                                    



More information about the erlang-questions mailing list