I think it would help to look at sys.argv and compare the values on Windows and Linux. -- Take a recipe. Leave a recipe. Python Cookbook! http://www.ActiveState.com/pythoncookbook