All of the following conditions are true on my system. The issue is to see which tests work. The final path includes a directory name containing a space. These tests use a path consisting of concatenated substrings: part1 = 'C:\users\public\Music' part2 = 'Sample Music' dfull = 'C:\users\public\Music\Sample Music' '-e Part1, unquoted' is true '-e Full path, unquoted' is false '-e Part1 in single quotes' is false '-e Full path in single quotes' is false '-e Part1 in double quotes' is true '-e Full path in double quotes' is false