# cmdline - command line utilities. import sys import win32ui import string def ParseArgs( str ): import string ret=[] pos = 0 length=len(str) while pos=length: break if str[pos]=='"': pos=pos+1 try: endPos = str.index('"', pos)-1 nextPos = endPos+2 except ValueError: endPos=length nextPos=endPos+1 else: endPos = pos while endPos