deduce to shorten paths for windows