Question

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?

Was it helpful?

Solution

Try this code:

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 the same response:

File -X: does not exist.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top