A Windows Vista forum. Vista Banter

Welcome to Vista Banter.

You are currently viewing our boards as a guest which gives you limited access to view most discussions, articles and access our other FREE features. By joining our free community you will have access to ask questions and reply to others posts, upload your own photos and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact support.

Go Back   Home » Vista Banter forum » Microsoft Windows Vista » Performance and Maintainance of Windows Vista
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Performance and Maintainance of Windows Vista A forum for performance and maintenance tasks in Windows Vista. (microsoft.public.windows.vista.performance_maintainance)

Unable to delete folder with too long name



 
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old November 15th 09, 09:54 AM posted to microsoft.public.windows.vista.performance_maintenance
sunil
external usenet poster
 
Posts: 2
Default Unable to delete folder with too long name

Dear Sir,

Eclipse has created folder inside folder recusively. Now I am not able to
delete this folder using neither 'Windows Explorer' nor using command prompt
using RMDIR/S.
It tells names of folder is too long.

Pleasew help me in how to delete it.

Regards,
Sunil

  #2 (permalink)  
Old November 15th 09, 02:12 PM posted to microsoft.public.windows.vista.performance_maintenance
Gil Tennant
external usenet poster
 
Posts: 16
Default Unable to delete folder with too long name

It could be created by Malware, which still has it open..

Try: http://ccollomb.free.fr/unlocker/

Or...

Try knoppix or ubuntu - boot the disk and delete what you need to delete.


--
Gil Tennant



"sunil" wrote:

Dear Sir,

Eclipse has created folder inside folder recusively. Now I am not able to
delete this folder using neither 'Windows Explorer' nor using command prompt
using RMDIR/S.
It tells names of folder is too long.

Pleasew help me in how to delete it.

Regards,
Sunil

.

  #3 (permalink)  
Old November 15th 09, 02:12 PM posted to microsoft.public.windows.vista.performance_maintenance
Gil Tennant
external usenet poster
 
Posts: 16
Default Unable to delete folder with too long name

It could be created by Malware, which still has it open..

Try: http://ccollomb.free.fr/unlocker/

Or...

Try knoppix or ubuntu - boot the disk and delete what you need to delete.


--
Gil Tennant



"sunil" wrote:

Dear Sir,

Eclipse has created folder inside folder recusively. Now I am not able to
delete this folder using neither 'Windows Explorer' nor using command prompt
using RMDIR/S.
It tells names of folder is too long.

Pleasew help me in how to delete it.

Regards,
Sunil

.

  #4 (permalink)  
Old November 16th 09, 02:45 AM posted to microsoft.public.windows.vista.performance_maintenance
R. C. White
external usenet poster
 
Posts: 1,868
Default Unable to delete folder with too long name

Hi, Sunil.

Even though we don't usually see it, each file/folder with a Long File Name
(LFN) also has a computer-created Short File Name (SFN), also referred to as
an 8.3 filename, since it is limited to 8 characters plus and optional
extension of up to 3 characters. (This goes back in computer history to
MS-DOS and before.)

To see the 8.3 filename of your folder, open a Command Prompt and enter:
Dir /x

That command should present the usual listing of all the files and folders
in that directory, as with the plain Dir command. But the /x switch will
create an additional column, before the LFN, showing the SFN for any file or
folder whose LFN does not also meet the 8.3 requirements. Perhaps there is
a space or other "illegal" character in the filename. The SFN for a LFN
will probably have 6 characters, followed by ~1, or some other digit.

Use the Del or RD command with that SFN to delete your file or remove your
folder. Using RD SFN /s for the top-level folder should remove that whole
directory tree.

(As always in a Command Prompt window, type the name of any command followed
by /? to see all the switches and parameters available with that command,
such as: Dir /? )

RC
--
R. C. White, CPA
San Marcos, TX

Microsoft Windows MVP
Windows Live Mail 2009 (14.0.8089.0726) in Win7 Ultimate x64

"sunil" wrote in message
...
Dear Sir,

Eclipse has created folder inside folder recusively. Now I am not able to
delete this folder using neither 'Windows Explorer' nor using command
prompt using RMDIR/S.
It tells names of folder is too long.

Pleasew help me in how to delete it.

Regards,
Sunil


  #5 (permalink)  
Old November 16th 09, 02:45 AM posted to microsoft.public.windows.vista.performance_maintenance
R. C. White
external usenet poster
 
Posts: 1,868
Default Unable to delete folder with too long name

Hi, Sunil.

Even though we don't usually see it, each file/folder with a Long File Name
(LFN) also has a computer-created Short File Name (SFN), also referred to as
an 8.3 filename, since it is limited to 8 characters plus and optional
extension of up to 3 characters. (This goes back in computer history to
MS-DOS and before.)

To see the 8.3 filename of your folder, open a Command Prompt and enter:
Dir /x

That command should present the usual listing of all the files and folders
in that directory, as with the plain Dir command. But the /x switch will
create an additional column, before the LFN, showing the SFN for any file or
folder whose LFN does not also meet the 8.3 requirements. Perhaps there is
a space or other "illegal" character in the filename. The SFN for a LFN
will probably have 6 characters, followed by ~1, or some other digit.

Use the Del or RD command with that SFN to delete your file or remove your
folder. Using RD SFN /s for the top-level folder should remove that whole
directory tree.

(As always in a Command Prompt window, type the name of any command followed
by /? to see all the switches and parameters available with that command,
such as: Dir /? )

RC
--
R. C. White, CPA
San Marcos, TX

Microsoft Windows MVP
Windows Live Mail 2009 (14.0.8089.0726) in Win7 Ultimate x64

"sunil" wrote in message
...
Dear Sir,

Eclipse has created folder inside folder recusively. Now I am not able to
delete this folder using neither 'Windows Explorer' nor using command
prompt using RMDIR/S.
It tells names of folder is too long.

Pleasew help me in how to delete it.

Regards,
Sunil


  #6 (permalink)  
Old January 24th 10, 04:08 PM posted to microsoft.public.windows.vista.performance_maintenance
mybad
external usenet poster
 
Posts: 2
Default Unable to delete folder with too long name


I had this same problem and your solution worked! I opened a command
prompt and tried the dir /x command and sure enough there was another
name for the folder.
Thanks much


--
mybad
  #7 (permalink)  
Old January 24th 10, 04:08 PM posted to microsoft.public.windows.vista.performance_maintenance
mybad
external usenet poster
 
Posts: 2
Default Unable to delete folder with too long name


I had this same problem and your solution worked! I opened a command
prompt and tried the dir /x command and sure enough there was another
name for the folder.
Thanks much


--
mybad
  #8 (permalink)  
Old March 15th 10, 09:51 PM posted to microsoft.public.windows.vista.performance_maintenance
arlanda
external usenet poster
 
Posts: 2
Default Unable to delete folder with too long name


This stupid problem has been around for too long since I started using
NT 4.0. The problem exist because of limitation with 32-bit
architecture.

The solution isn't obvious but it's quite simple.

If you tried to rename the file, Windows will prevent you.

If you tried to copy/move the file into another folder with shorter
path, Windows will prevent you.

If you tried to rename the folder where the file is currently, Windows
will prevent you.

To get around all these, simply start renaming folder from the very top
(i.e. rename root folder first before renaming level 1 sub-folder before
level-2 sub, etc. ) until Windows finally release their deathly grip on
the file before you will finally be able to do anything with it.

Rename to shorter name, delete, or move the problem file before renaming
folders back to what it was before, keeping in mind the 256-character
limitation (file name + path).

Hopefully we will not have such issue on a 64-bit platform.


--
arlanda
  #9 (permalink)  
Old March 15th 10, 09:51 PM posted to microsoft.public.windows.vista.performance_maintenance
arlanda
external usenet poster
 
Posts: 2
Default Unable to delete folder with too long name


This stupid problem has been around for too long since I started using
NT 4.0. The problem exist because of limitation with 32-bit
architecture.

The solution isn't obvious but it's quite simple.

If you tried to rename the file, Windows will prevent you.

If you tried to copy/move the file into another folder with shorter
path, Windows will prevent you.

If you tried to rename the folder where the file is currently, Windows
will prevent you.

To get around all these, simply start renaming folder from the very top
(i.e. rename root folder first before renaming level 1 sub-folder before
level-2 sub, etc. ) until Windows finally release their deathly grip on
the file before you will finally be able to do anything with it.

Rename to shorter name, delete, or move the problem file before renaming
folders back to what it was before, keeping in mind the 256-character
limitation (file name + path).

Hopefully we will not have such issue on a 64-bit platform.


--
arlanda
 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 05:21 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.Search Engine Optimization by vBSEO 3.0.0 RC6
Copyright ©2004-2012 Vista Banter.
The comments are property of their posters.