views:

160

answers:

1

If I type this line in an MS-DOS command prompt window:

ipy -X:ColorfulConsole

IronPython starts up as expected with the colorful console option enabled. However, if I type the same line in Windows PowerShell I get the message:

File -X: does not exist

Can someone explain what I'm doing wrong?

+5  A: 

try:

ipy '-X:ColorfulConsole'

Or whatever quoting mechanism is supported in Windows PowerShell - the shell is splitting your argument.

Typing

ipy -X: ColorfulConsole

in MS-DOS command prompt window returns same response File -X: does not exist.

gimel
Thanks. Putting the option in single quotes fixed the problem.
Charles Anderson