Jakob Simon-Gaarde: > How can I ensure a safe passing of arguments maybe having speciel > characters within. Use ctypes to call the Windows GetCommandLine function. The CommandLineToArgvW function can be used to break up the command line string into arguments. Neil