Possible Duplicate:
What character to separate words in filenames? Dashes? Periods? Underscores?

I understand how to choose good file names, but what is the best convention? What would make searches faster and such. Should I use underscores or spaces? I'm using Windows 7 32 bit.

Also, with Windows 7 what are the restrictions on the size of file names? I occasionally get the "file path is too long" error.

link|improve this question
What's your longest file name? I never got that error, and I tend to name the papers I collect by their full title with underscores replacing whitespaces. – Xavier Ho May 6 '10 at 0:18
feedback

migrated from stackoverflow.com May 6 '10 at 0:25

This question came from our site for professional and enthusiast programmers.

closed as exact duplicate by random May 6 '10 at 10:53

This question covers exactly the same ground as earlier questions on this topic; its answers may be merged with another identical question. See the FAQ for guidance on how to improve it.

1 Answer

The longest path you can have is 259 characters including \.

The other stuff is personal preference, but I tend to about spaces and go for underscores or camelCase naming, in the event that I ever put the files on a *nix file server. It just makes portability easier. This does not impact search speed though, so it's really up to you.

link|improve this answer
feedback