making ignoreDir() win compliant