Avatar

Level 2

This code does work on paths with spaces, as long as it has a file at the end. But if you want to open the directory that the file is held in it will fail...

Basically it can open a folder if there are no spaces, and a file if there are spaces or not.

Anyone have any ideas on why?