Jakob Simon-Gaarde: > thanks :-) It seems a little overkill though, is it really the > only/best way?
Yes. I should have mentioned you want the wide version of the function GetCommandLineW. I wrote a patch to allow unicode in argv but later agreed that the patch should be rejected: https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1231336&group_id=5470 Neil -- http://mail.python.org/mailman/listinfo/python-list