Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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.

share|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
add comment

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

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

marked as duplicate by random May 6 '10 at 10:53

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

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.

share|improve this answer
add comment