Looks like I've worked it out for myself. It looks like that is the behavior you will get if you use the 'Always open with this applications' option when you use 'Open With..'
I fixed it by undoing that change and changing what was run for all Python.File types. Iain. Iain wrote: > If I associate ipy.exe with *.py files then run the IronPython files > directory I am not seeing any command line argument that I try to pass > in to the script. > > I have a file called cmdline_test.py with the following two lines, > import System > print System.Environment.CommandLine > > If I run "C:\Program Files\IronPython\ipy.exe" cmdline_test.py test I > will get > "C:\Program Files\IronPython\ipy.exe" cmdline_test.py test > > If I run cmdline_test.py test I then get > "C:\Program Files\IronPython\ipy.exe" "C:\Scripts\cmdline_test.py" > > Is this the expected behavior? > > Thanks > > Iain. > _______________________________________________ > users mailing list > users@lists.ironpython.com > http://lists.ironpython.com/listinfo.cgi/users-ironpython.com > _______________________________________________ users mailing list users@lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users-ironpython.com