I want to get dirDetails() for a given file (not the whole dir) but I encounter a problem if the file in question has a space in the filename.
If I have a file with space, for example "pic 1.jpg" (without quotes), the dirDetails() doesn't return any results for it. File "pic1.jpg" naturally works just fine. I've tried to escape the space and wrap the filename in single and double quotes, but nothing worked.
How can I get dirDetails() for a single file that has space in the name? Also worth mentioning that it's not an option to not have spaces in the filenames as that is not in my powers.