Original Post
Hi, I'm trying to create a set of guidelines for my cross-platform project concerning filepaths and filenames,
I startd with Boost Filesystem portabillity guide, but I have some additional questions.
First: I mostly only care about Windows XP and Later, Mac OSX and later, and the most common flavors of Linux.
Second: What about Android and iOS limitations? Anyone know (without violating any NDAs) about XBox Arcade limitations?
Is Windows XP still limited to a max path of 260 characters? What about Windows Vista and beyond?
Amongst the common OSes I mentioned, is there any limitation on the size of a single filename or directory name? What is the maximum compatible filename or directory name size?
Is there any limitation still on the "depth" of the folders? Am I still limited to 8 folders deep on Mac OSX, WinXP, or major Linux distros? I can go to at least 15 on Windows 7, just glancing at my current directory.
[size=2]For fun:
[size=2]D:\Jamin\Programming\Projects\AdventureFar\GameClient\Game\Data\World\Areas\Tests\MyTestArea\(-1,2)\Floor\Floor 0\Layers
Can I really not have spaces in my path? I can seriously only have 0-9, a-z, A-Z, '_', and '-'?
On the common OSes mentioned above, I can't cross-platformly use < >, ( ), or [ ]?
What about commas, am I banned from those if I want to be cross-platform?
Any help here is much appreciated! Most of the cross-platform filepath articles I find and trying to keep me cross-platform to OSes from before 2000 or so, which doesn't concern my project.
I startd with Boost Filesystem portabillity guide, but I have some additional questions.
First: I mostly only care about Windows XP and Later, Mac OSX and later, and the most common flavors of Linux.
Second: What about Android and iOS limitations? Anyone know (without violating any NDAs) about XBox Arcade limitations?
Is Windows XP still limited to a max path of 260 characters? What about Windows Vista and beyond?
Amongst the common OSes I mentioned, is there any limitation on the size of a single filename or directory name? What is the maximum compatible filename or directory name size?
Is there any limitation still on the "depth" of the folders? Am I still limited to 8 folders deep on Mac OSX, WinXP, or major Linux distros? I can go to at least 15 on Windows 7, just glancing at my current directory.
[size=2]For fun:
[size=2]D:\Jamin\Programming\Projects\AdventureFar\GameClient\Game\Data\World\Areas\Tests\MyTestArea\(-1,2)\Floor\Floor 0\Layers
Can I really not have spaces in my path? I can seriously only have 0-9, a-z, A-Z, '_', and '-'?
On the common OSes mentioned above, I can't cross-platformly use < >, ( ), or [ ]?
What about commas, am I banned from those if I want to be cross-platform?
Any help here is much appreciated! Most of the cross-platform filepath articles I find and trying to keep me cross-platform to OSes from before 2000 or so, which doesn't concern my project.