Thomas Heller wrote: > Better would be this code: > > import ctypes > ctypes.windll.kernel32.GetCommandLineA.restype = ctypes.c_char_p > print ctypes.windll.kernel32.GetCommandLineA()
Or you could use pywin32: <code> import win32api print win32api.GetCommandLine () </code> TJG -- http://mail.python.org/mailman/listinfo/python-list