Windows cannot open directory with too long name created by Linux

My laptop has two OSes: Windows 7 and Ubuntu 10.10. A partition of Windows 7 of format NTFS is mounted in Ubuntu.

In Ubuntu, I created a directory under somehow deep path and with a long name for itself, specifically, the name for that directory is "a set of size-measurable subsets ie sigma algebra". Now in Windows, I cannot open the directory, which I guess is because of the name is too long, nor can I rename it. I was wondering if there is some way to access that directory under Windows? Better without changing the directory if possible, but will have to if necessary.

Thanks and regards!


Update:

This is the output using "DIR /X" in cmd.exe, which does not shorten the directory name:

F:\science\math\Foundations of mathematics\set theory\whether element of a set i
s also a set\when element is set\when element sets are subsets of a universal se
t\closed under some set operations\sigma algebra of sets>DIR /X
 Volume in drive F is Data
 Volume Serial Number is 0492-DD90

 Directory of F:\science\math\Foundations of mathematics\set theory\whether elem
ent of a set is also a set\when element is set\when element sets are subsets of
a universal set\closed under some set operations\sigma algebra of sets

03/14/2011  10:43 AM    <DIR>                       .
03/14/2011  10:43 AM    <DIR>                       ..
03/08/2011  10:09 AM    <DIR>                       a set of size-measurable sub
sets ie sigma algebra
02/12/2011  04:08 AM    <DIR>                       example
02/17/2011  12:30 PM    <DIR>                       general
03/13/2011  02:28 PM    <DIR>                       mapping from sigma algebra t
o R or C i.e. measure
02/12/2011  04:10 AM    <DIR>                       msbl mapping from general ms
bl space to Borel msbl R or C
02/12/2011  04:10 AM             4,928              new file~
03/14/2011  10:42 AM    <DIR>                       temp
03/02/2011  10:58 AM    <DIR>                       with Cartesian product of se
ts
               1 File(s)          4,928 bytes
               9 Dir(s)  39,509,340,160 bytes free

Windows has maximum filename length limitations. If you can't rename by using the short filename, then you'll have to use the Unix/Linux shell on the server to accomplish the renaming.

At the DOS prompt in Windows, if you type "DIR /X" you can see the short filenames.


Linux won't assign short names to any files on NTFS partitions. "DIR /X" won't show a short name unless the file was created under Windows. There's a command-line program (not installed by default) which can be used to manually assigning or modifying short file names under Linux.

An NTFS file is not required to have a short name. By default, Windows assigns a short name, but this can be disabled in Windows settings.