[Tutor] sys.argv and windows 2k

HY pythonpython@hotmail.com
Mon, 10 Dec 2001 12:51:02 +0900

I have python script which takes 3 arguments.
Under Windows 98 and Linux(Unix) prompt, it works fine:
python action.py arg1 arg2 arg3

If I "print sys.argv", I get ['action.py', 'arg1', 'arg2', 'arg3'] .

However, when I try to run the script under a Windows 2000's cmd prompt the
script stopped taking 3 arguments.
It now only accept the first two the arguments I typed.
When I do a "print sys.argv", I only get ['action.py', 'arg1', 'arg2'] .

Could you please tell me why this is possible and how to make the script
work under Windows 2000?

Thanks a lot.