home hardware prices news articles forums photos user reviews
Go Back   Tech Support Forums - TechIMO.com > PC Hardware and Tech > Security and Privacy Issues
Join TechIMO for Free!
Register Blogs FAQ Members List Calendar Search Today's Posts Mark Forums Read
Reply Get bargains at  »  Dealighted.com
 
Thread Tools
Currently Active Users: 1855
Discussions: 188,471, Posts: 2,244,170, Members: 232,723
Old October 27th, 2006, 12:46 AM   Digg it!   #1 (permalink)
Ultimate Member
 
mjolnir1134's Avatar
 
Join Date: Jan 2005
Location: The Internet
Posts: 1,999
Unhappy
URGENT HELP NEEDED! Long-named file won't delete

Hello Techimo, I seem to have run into a little predicament:

OS: WINDOWS XP

I am honestly going to say I was on a P2P program, and I guess I clicked the wrong file in the download list. I downloaded it, and it is giving me hell.

Now first things first, this file:

-Is NOT A VIRUS

-Has an outrageously long file name. (I will not type the name, because it is very obscene, plus very long. Its not what I wanted to download... )
Lets just call it "annoyingfilelongname.mpg"

-This is what I get when I right click it:

(I cannot use the keyboard to delete it, rename it, cut, copy, whatever. When I press "DELETE" on the keyboard, the computer lags for a second and nothing happens.) (BTW, "Send To..." cannot send it anywhere.)

-Cannot be moved out of the Desktop folder.

------------------------------------

As you can see I'm in quite a pickle, does anyone here know of a way to delete a file with a long name? (When I say "Long name", I mean that the file name goes BEYOND what you can possibly type when renaming a file)

I really need to get rid of this stupid file, it just won't go away when I press delete! (Even in explorer!)
__________________
Rationalrant.com - My website.
e6420—2GB RAM—8800GT—ASUS P5LD2—XP / EEE 1000H

mjolnir1134 is offline   Reply With Quote
Old October 27th, 2006, 12:48 AM     #2 (permalink)
A hero in training
 
GroundZero3's Avatar
 
Join Date: Oct 2001
Location: Norfolk, VA
Posts: 22,774
Blog Entries: 5
have you tried deleting it in safe mode?

GroundZero3 is offline   Reply With Quote
Old October 27th, 2006, 12:49 AM     #3 (permalink)
Ultimate Member
 
mjolnir1134's Avatar
 
Join Date: Jan 2005
Location: The Internet
Posts: 1,999
yes, but no cigar. (i forgot to mention safe mode)

How about any special programs out there that was made for deleting pesky files like this? Anyone know of any?

mjolnir1134 is offline   Reply With Quote
Old October 27th, 2006, 12:52 AM     #4 (permalink)
A hero in training
 
GroundZero3's Avatar
 
Join Date: Oct 2001
Location: Norfolk, VA
Posts: 22,774
Blog Entries: 5
GroundZero3 is offline   Reply With Quote
Old October 27th, 2006, 01:45 AM     #5 (permalink)
Ultimate Member
 
JPMiller's Avatar
 
Join Date: Jan 2003
Location: Chandler-Arizona
Posts: 5,756
Send a message via Yahoo to JPMiller
JPMiller is offline   Reply With Quote
Old October 27th, 2006, 02:03 AM     #6 (permalink)
Ultimate Member
 
Join Date: Oct 2001
Posts: 21,062
what usually works for me is deleting from command prompt

del annoyingfile*
vass0922 is offline   Reply With Quote
Old October 27th, 2006, 02:20 AM     #7 (permalink)
Ultimate Member
 
FatalException's Avatar
 
Join Date: Jun 2004
Location: Indianapolis, Indiana
Posts: 1,386
I know that you have said that you cannot rename the file, but that is your best option for getting rid of it. I frequently store concert music on my computer (usually recorded live) which can make the file names very long - composer, date, soloists, etc. Windows is fine with the name as long as the COMPLETE PATH is not longer than 256 characters.

This means a file located on the C drive, such as:

C:\concert.mp3

is considered 14 characters long. Now, Windows - being typical, not too bright Windows - thinks it's ok to move a long named file into a long-named directory. So, we take our file with a 200 character long name, and put it into a folder with a really long name - say, 100 characters long. Now the total path is 300 characters. Windows will let you PUT the file there, but then it gets confused when trying to access it! I don't know why.

USUALLY, though, as someone mentioned above, you can rename the DIRECTORY the file is in, thereby allowing you to access the FILE within the directory. So, my suggestion - rename the directory it is in to make it 1 character long (ie. change the folder "My Limewire downloads" to "p". THEN Windows will let you access the file within it.

If renaming just the one directory doesn't help, then MOVE that directory to the C:\ level - then the path will be shorter than if it is in My Documents\My Stuff\My downloads\More directory names\etc.

So in summary, if you can't access the file directory - rename its CONTAINER (the folder it's in) and move it to a ROOT level. Then you should be able to access the file, rename it to something shorter, and then delete the file itself.

Hope this helps.
__________________
Logic shall prevail.
FatalException is offline   Reply With Quote
Old October 27th, 2006, 04:19 PM     #8 (permalink)
Ultimate Member
 
mjolnir1134's Avatar
 
Join Date: Jan 2005
Location: The Internet
Posts: 1,999
Thumbs up

Problem solved! Thanks guys! As always, Techimo never failed me for a computer problem.

Quote:
Originally Posted by GroundZero3 View Post
Downloaded the program the article mentioned, "delinvfile" and it deleted the pesky file like a charm! Thanx GroundZero!

Nevertheless, you all chipped in to help out, and thats what pwnsz0rz. I learn something new about my computer evarydays. ;D

LOLHAXBBQ
-Mjolnir1134 <3
mjolnir1134 is offline   Reply With Quote
Old October 27th, 2006, 04:23 PM     #9 (permalink)
A hero in training
 
GroundZero3's Avatar
 
Join Date: Oct 2001
Location: Norfolk, VA
Posts: 22,774
Blog Entries: 5
Now stop downloading bad stuff on p2p and you will be straight


GroundZero3 is offline   Reply With Quote
Old July 1st, 2007, 05:21 PM     #10 (permalink)
Junior Member
 
Join Date: Jul 2007
Posts: 1
Oh man I think I had the same problem that you did and that program helped me out so much. Thank god there was a topic for this.
fletchz is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may post new threads
You may 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 Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can not delete file...too long or invalid dewgubbe Technical Support 25 March 23rd, 2004 10:11 PM
Weird file named ~ appears on desktop Underclocked Technical Support 12 October 1st, 2003 10:49 PM
Help needed! Urgent!! asbereth Storage Related 8 August 27th, 2003 08:38 PM
file named 'Program' in root ?! keeps coming back for more lanroot General Tech Discussion 5 March 16th, 2003 01:14 AM
URGENT HELP NEEDED!!!!! willy_ph Storage Related 17 April 11th, 2002 04:52 PM

Most Active Discussions
Is It Just Me? (2996)
Intel Pentium 4 531 (7)
"mastermind" of London at.. (65)
Please don't divorce us (40)
AMD Phenom II X4 940 Black Edition (11)
Replacing integrated video card (5)
nVidia GTX 295 now available (21)
Folderchat Weekday thread (458)
building a gaming computer, input p.. (14)
Recent Discussions
How to rip a DVD and edit DVD o.. (0)
nVidia GTX 295 now available (21)
Folderchat Weekday thread (458)
Could I run this set-up (15)
Bought the Visiontek Radeon 387.. (1)
CPU Overheating ?? (18)
Computer will not boot(powers o.. (2)
*TechIMO's Top 30 PCs* (44)
New psu question (1)
Blackberry Storm, Gears of War .. (2)
Core 2 Quad Q9550 system (3)
COWBOOM Ripoff! Used Laptop w/$.. (4)


All times are GMT -4. The time now is 05:55 AM.
TechIMO Copyright 2008 All Enthusiast, Inc.



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28