Command prompt error

  • Thread starter Thread starter John Smithe
  • Start date Start date
J

John Smithe

I have modified my 'PATH' environment variable from:

PATH=C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;c:\Program
Files (x86)\Microsoft SQL Server\90\Tools\binn\;C:\Program Files (x86)
\QuickTime\QTSystem\

to this:

PATH=C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;c:\Program
Files (x86)\Microsoft SQL Server\90\Tools\binn\;C:\Program Files (x86)
\QuickTime\QTSystem\;C:\Icarus Verilog\bin\

The change is adding ';C:\Icarus Verilog\bin\' to the end.

My problem is that when I attempt to run C:\Icarus Verilog\bin
\iverilog.exe from the command prompt I get an error:

'C:\Icarus' is not recognized as an internal or external command,
operable program or batch file.

It seems that commend prompt is not interpretting the space in the path
correctly. How do I correct this?

Many Thanks
John
 
John said:
I have modified my 'PATH' environment variable from:

PATH=C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;c:\Program
Files (x86)\Microsoft SQL Server\90\Tools\binn\;C:\Program Files (x86)
\QuickTime\QTSystem\

to this:

PATH=C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;c:\Program
Files (x86)\Microsoft SQL Server\90\Tools\binn\;C:\Program Files (x86)
\QuickTime\QTSystem\;C:\Icarus Verilog\bin\

The change is adding ';C:\Icarus Verilog\bin\' to the end.

My problem is that when I attempt to run C:\Icarus Verilog\bin
\iverilog.exe from the command prompt I get an error:

'C:\Icarus' is not recognized as an internal or external command,
operable program or batch file.

It seems that commend prompt is not interpretting the space in the path
correctly. How do I correct this?

Many Thanks
John

I'm not sure but try using quotes ie. c:\"icarus verilog"\bin\ hope that
helps
 
The previous poster had the right idea, but the wrong place for the
quotes.The quotes must enclose the entire path (i.e., "C:\Icarius
Verilog\bin\") or the command line (i.e., "C:\Icarius
Verilog\bin\iverilog.exe") in order to be effective.
 
Richard G. Harper said:
The previous poster had the right idea, but the wrong place for the
quotes.The quotes must enclose the entire path (i.e., "C:\Icarius
Verilog\bin\") or the command line (i.e., "C:\Icarius
Verilog\bin\iverilog.exe") in order to be effective.

Well, if you looks at the rest of your PATH, you can see that there are no
other quote marks in it.

What the OP really needs to do, if end the path as a semi-colon, as that is
what is used as the delimiter.

ss.
 
Back
Top