Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Ranma_Sao said:It's 128. Yes command shell is stupid. You can use the 8.3 filename, and then the cmd shell will see it. Or you can try del \\?\Filename.txt
To get the 8.3 filename type dir /x
del 8.3 name
Microsoft Windows 2000 [Version 5.00.2195]
(C) Copyright 1985-2000 Microsoft Corp.
C:\Documents and Settings\richiem>copy con 123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890.txt
this is a file with a name that is 150 characters
^Z
1 file(s) copied.
C:\Documents and Settings\richiem>dir
Volume in drive C has no label.
Volume Serial Number is 38E9-B4DC
Directory of C:\Documents and Settings\richiem
06/28/2004 05:36p <DIR> .
06/28/2004 05:36p <DIR> ..
06/28/2004 05:36p 51 12345678901234567890123456789012345678901
23456789012345678901234567890123456789012345678901234567890123456789012345678901
23456789012345678901234567890.txt
...
...
10 File(s) 17,291 bytes
8 Dir(s) 14,179,442,688 bytes free
C:\Documents and Settings\richiem>del 123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890.txt
C:\Documents and Settings\richiem>dir
Volume in drive C has no label.
Volume Serial Number is 38E9-B4DC
Directory of C:\Documents and Settings\richiem
06/28/2004 05:36p <DIR> .
06/28/2004 05:36p <DIR> ..
...
... 9 File(s) 17,240 bytes
8 Dir(s) 14,179,442,688 bytes free
C:\Documents and Settings\richiem>
Microsoft(R) Windows DOS
(C)Copyright Microsoft Corp 1990-2001.
C:\DOCUME~1\RICHIEM>copy con test.txt
this is a file that I'll rename to a long file name. looks like the win9x legacy command.com is limited to a 128 character command string, so I'll use a batch file to accomplish this
^Z
1 file(s) copied.
C:\DOCUME~1\RICHIEM>copy con ren2long.bat
rename test.txt 123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890.txt
^Z
1 file(s) copied.
C:\DOCUME~1\RICHIEM>ren2long.bat
C:\DOCUME~1\RICHIEM>dir
Volume in drive C has no label.
Volume Serial Number is 58C0-7D42
Directory of C:\DOCUME~1\richiem
06/28/2004 05:19 PM <DIR> .
06/28/2004 05:19 PM <DIR> ..
06/28/2004 05:18 PM 185 12345678901234567890123456789012345678901
23456789012345678901234567890123456789012345678901234567890123456789012345678901
23456789012345678901234567890.txt
...
...
63 File(s) 2,011,964 bytes
9 Dir(s) 716,939,264 bytes free
C:\DOCUME~1\RICHIEM>del 123456~1.txt
C:\DOCUME~1\RICHIEM>dir
Volume in drive C has no label.
Volume Serial Number is 58C0-7D42
Directory of C:\DOCUME~1\richiem
06/28/2004 05:20 PM <DIR> .
06/28/2004 05:20 PM <DIR> ..
...
...
62 File(s) 2,011,779 bytes
9 Dir(s) 716,873,728 bytes free
DigitalMP said:thank you arkamw, but the DOS shell says file not found.
I ran CHKDSK -f, and the file was unchanged. when I attempted to rename or delete it in explorer, I only am alerted by the error bell sound.
[MS] said:Are you using the DOS Shell (command.com) or the Windows Command Shell (cmd.com)?
Unless there is a specific reason to do otherwise, use the Windows version.
I'll try and think of some other options for ya...
DigitalMP said:I FCUKING LOVE YOU!!!!!!! (I mean, ummmm...)
[MS] said:Windows 2000 does not have a 128 character limit on file names. For a full info on long file names, see the section "Using Long File Names" in the following link:
http://www.microsoft.com/resources/...rver/reskit/en-us/serverop/part1/sopch03.mspx
The limit is 255 characters. Sorry man