On Mon, 12 Jun 2006, Giovanni Bajo wrote: > GetSystemDirectory() is the official way to find the system directory.
You're right. I've added a call to GetSystemDirectory, with a fallback to the usual locations if it doesn't work. > Another thing that you might do is to drop those absolute system > directories altogether. After all, ipconfig should always be in the path. Yup, that's why '' is the first item in the list of directories to try. > As a last note, you are parsing ipconfig output assuming an English Windows > installation. My Italian Windows 2000 has localized output. Thanks for catching this. I've fixed it in the latest version, which is now checked in to the trunk. -- ?!ng _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com