os.name gives the python name of the os. We could have a test and different handling for posix and nt. Cayte