how to delete file with a long name

January 11, 2010 at 06:25:49
Specs: Windows 7, 2GB
Hi can you please tell me how can i rename
this long filename?

[1] Petr, Desktop, 2 images, [1] Desktop, Snih
Praha 2010, 17 images, DSCF1600 -
DSCF1616 - 7946x4209 - SCUL-Smartblend -
[2] Desktop, Snih Praha 2010, 20 images,
DSCF1626 - DSCF1646 - 9043x4282 - SCUL-
Smartblend - 14443x3811 - SCUL-
Smartblend.jpg

I tried rename it in a dos but i guess that this
taf is not supported [1].


See More: how to delete file with a long name

Report •

#1
January 11, 2010 at 08:41:21
Tried to set the filename in double quotes at the command prompt?
E.g.
rename "x:\path_to_file\filename1.ext" "x:\path_to_file\filename2.ext"

Report •

#2
January 11, 2010 at 08:58:02
no it still doesnt work there is a problem with the square dash []
and the space behing it

and it says that this syntax of the command is incorrect


Report •

#3
January 11, 2010 at 09:14:58
This is odd.
I just tried this in WinXP command prompt and it works.
But it only works, when setting the filenames in double quotes.

Report •

Related Solutions

#4
January 11, 2010 at 09:29:54
I tried this
rename “[1] Petr, Desktop, 2 images, [1] 
Desktop, Snih Praha 2010, 17 images, DSCF1600 - DSCF1616 - 
7946x4209 - SCUL-Smartblend - [2] Desktop, Snih Praha 2010, 
20 images, DSCF1626 - DSCF1646 - 9043x4282 - SCUL-
Smartblend - 14443x3811 - SCUL-Smartblend.jpg“ 
„new.jpg“

and it doesnt work in cmd in win 7 so do you have any other
solution?


Report •

#5
January 11, 2010 at 09:32:47
Is the file readonly, hidden or system?

Report •

#6
January 11, 2010 at 09:35:01
You can use another file manager to manage that task.
http://www.wincmd.com

Report •

#7
January 11, 2010 at 09:49:37
the problem is that the filename is too long so I can not tell if the
file is readonly, hidden or system.

I got this message in cmd.


Report •

#8
January 11, 2010 at 09:52:53
But you can change the attributes in Explorer or any other file manager like TotalCommander, I posted in Response #6.

Report •

#9
January 11, 2010 at 09:55:21
Are you certain none of Windows programs are linked to it. If none are, boot to safe mode. Try delete it using Explorer. If it still refuse to go away, click on the link below to download DelinvFile.exe This freeware version utility is guaranteed 99.99% to delete stubborn files and it will works under Windows NT4, 2000, XP, VISTA and Win7.

http://www.purgeie.com/delinv/dldel...

i_Xp/Vista/W7User


Report •

#10
January 11, 2010 at 10:07:13
Thank you so much this program worked so well! I renamed it in
few seconds. So thanks again.

Report •

#11
January 11, 2010 at 10:09:07
We are happy for you :-) Mind telling us which program worked?

i_Xp/Vista/W7User


Report •

#12
January 11, 2010 at 10:12:23
The Delete Invalid File

Report •

#13
January 11, 2010 at 12:25:15
What program have you used to delete the file?

Report •

#14
January 11, 2010 at 12:38:36
DelinvFile.exe the one what XpUser suggested and it worked well

Report •

#15
January 11, 2010 at 12:40:13
Thanks for posting back to let us know. Be assured that there will be others who will find this very helpful.

Happy computing :-)

i_Xp/Vista/W7User


Report •

Ask Question