win32api.GetCommandLine

string = GetCommandLine()

Retrieves the current application's command line.

Win32 API References

Search for GetCommandLine at msdn, google or google groups.