It is likely that your problem is a special character (usually a space) rather than the number of characters in a directory name. In windows, the simplest solution often is to use the alternate (remember DOS 8.3 file name format) version of the name.