Why am I getting file name can't be used error?

Is there any reason I cant name a file this:


The Lonely House on Adachi Moor in Northern Japan Yoshitoshi 1885.png


There are no punctuation marks.


iMac 27″ 5K, macOS 10.14

Posted on Jan 4, 2023 7:18 PM

Reply
Question marked as Top-ranking reply

Posted on Jan 4, 2023 8:14 PM

I wonder if 10 spaces is too many, "The Lonely House on AdachiMoor inNorthernJapanYoshitoshi 1885.png" worked.

6 spaces


"The Lonely House on Adachi Moor in Northern Japan Yoshitoshi 1885.png" did not here either.

10 spaces


"The Lonely House on Adachi_Moor_in_Northern_Japan_Yoshitoshi_1885.png" worked.


Nope, nit to many spaces...


Aha, in a Hex editor it looks like 2 of your spaces are actually Linefeeds!


"The Lonely House on Adachi

Moor in Northern Japan

Yoshitoshi 1885.png"


22 54 68 65 20 4C 6F 6E 65 6C 79 20 48 6F 75 73 65 20 6F 6E 20 41 64 61 63 68 69 0A 4D 6F 6F 72 20 69 6E 20 4E 6F 72 74 68 65 72 6E 20 4A 61 70 61 6E 0A 59 6F 73 68 69 74 6F 73 68 69 20 31 38 38 35 2E 70 6E 67 22

16 replies

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Why am I getting file name can't be used error?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.