# 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

-
Hmm, it doesn't include that extra column that includes the short version of the name (which is what it normally does -- that column is normally included just before the long filename). –  Randolf Richardson Mar 14 '11 at 15:19
Try using this tool, it may work (it's a text-mode Norton Commander clone that has native 32-bit and 64-bit Windows binaries); when you press CTRL-N in this application, it toggles between short and long filenames: farmanager.com –  Randolf Richardson Mar 14 '11 at 15:21
@Randolf: Are you using cmd.exe, command prompt, or what else for command line operations? –  Tim Mar 14 '11 at 15:21
No. Just "Cmd" is all (that would be "cmd.exe") to get to the DOS prompt. –  Randolf Richardson Mar 14 '11 at 15:22
@Randolf: Thanks! using the tool you linked I can now go into the directory with long name. If I want to open some saved files under it in other applications, what shall I do next? Do I need to rename the directory to a shorter name? If yes, under its parent directory, I still cannot "rename oldname newname". –  Tim Mar 14 '11 at 15:31