Command prompt error

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
 
F

fatsteve

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
 
R

Richard G. Harper

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.
 
S

Synapse Syndrome

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top