954,168 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Cannot delete file

ok, i have this poroblem I have some video type of file on my destop and i cant get rid off it.I cant delete,rename,or put into a folder,when I do I get the following message: cannot delete file:the filename you specified is invalid or too long specify a different filename.

Soo if anyone knows what to do..plz help me :)

afi_freak27
Light Poster
27 posts since Oct 2003
Reputation Points: 10
Solved Threads: 0
 

Open up a command prompt window. This is performed by typing "command" at the run box on the start menu.

From the black box that pops up, navigate to your Desktop directory...try "cd C:\windows\desktop" only without the quotes.

Then type "dir", again without the quotes. Look for the filename that you're trying to delete. If say, the filename is "movie3 .mpg" on your desktop, then it's likely there is a "special" character after the 3.

There may be an extended ASCII character in the files name. Windows doesn't know how to interpret that, so it basically gives up when you try to delete it. It just doesn't understand it.

It made for some interesting fun years ago...heh. Drove people completely nuts!

Anyway, lemme know what the dir command shows for that particular file. :)

feigned
Posting Whiz
311 posts since Oct 2003
Reputation Points: 107
Solved Threads: 4
 

or you could try booting into safe mode ,and deleting it that way ,hit f8 on bootup to go into safe mode .

caperjack
I hate 20 Questions
Team Colleague
13,069 posts since Aug 2003
Reputation Points: 1,064
Solved Threads: 812
 

ya i tried safe mode and it wont delete i also tried to rename the file in DOS and it wont rename cause the file name is hella long and there isint enought room to write.

afi_freak27
Light Poster
27 posts since Oct 2003
Reputation Points: 10
Solved Threads: 0
 

ookay feigned,
i did what us aid and this whole list poped up and the files on there but how do i delete it after that??? :(

afi_freak27
Light Poster
27 posts since Oct 2003
Reputation Points: 10
Solved Threads: 0
 

And it also sais there is to many paremeters. :(

afi_freak27
Light Poster
27 posts since Oct 2003
Reputation Points: 10
Solved Threads: 0
 

you need to type, DEL with a space between DEL and C:\ . then the path and file name ,something like
Del c:\windows\desktop\getthehelloffmycomputer.off

caperjack
I hate 20 Questions
Team Colleague
13,069 posts since Aug 2003
Reputation Points: 1,064
Solved Threads: 812
 

nope...it sais 2 many paremeters! :(

afi_freak27
Light Poster
27 posts since Oct 2003
Reputation Points: 10
Solved Threads: 0
 

Start > Run command
Run the CD command till you get to the folder that has this file.
Do dir
Note the short file name for it
Then use the DEL command on the short file name.

)BIG"B"Affleck
Master Poster
Banned
766 posts since Oct 2003
Reputation Points: 25
Solved Threads: 8
 

no i dont

afi_freak27
Light Poster
27 posts since Oct 2003
Reputation Points: 10
Solved Threads: 0
 

note: this post is in the win9x/me forum

cscgal
The Queen of DaniWeb
Administrator
19,421 posts since Feb 2002
Reputation Points: 1,474
Solved Threads: 229
 

I edited my post

or Boot up to DOS and delete it from there
To delete a file from the DOS prompt (command line) you use the command:
del filename
File names can be entered using wild cards (* and ?) where the star (*) is any string and the ? is any single character. Deleting a file called "mypictureofthegreenmoster.jpg could be done by entering:
del mypic*.*
which will delete ALL files beginning with "mypic". This is sometimes helpful if there is a problem with a filename that has acquired weird characters in its name.

)BIG"B"Affleck
Master Poster
Banned
766 posts since Oct 2003
Reputation Points: 25
Solved Threads: 8
 

it dosnt work..the file is really long! and i tried everything.

afi_freak27
Light Poster
27 posts since Oct 2003
Reputation Points: 10
Solved Threads: 0
 

I edited my post above
(fool proof method)

What is the name of the file that the mpeg is saved? Where is it located? If you provide that information, we(Tech Talk Community) can provide you the path to deleting it in

Is the file in the C:\Windows directory? If it is the command is

DEL C:\WINDOWS\UNSORT~1.MPG

Is the file named somthing nasty hmmmmmmmmm.............did you get it off of a file sharing program such as KAZZA
morpheius
ect..
I wont laugh promise lol...lol...lol...lol

)BIG"B"Affleck
Master Poster
Banned
766 posts since Oct 2003
Reputation Points: 25
Solved Threads: 8
 

i think the name in the directory is CONHAR~1 LNK

afi_freak27
Light Poster
27 posts since Oct 2003
Reputation Points: 10
Solved Threads: 0
 

CONHAR~1 LNK
ok 1 sec brb

)BIG"B"Affleck
Master Poster
Banned
766 posts since Oct 2003
Reputation Points: 25
Solved Threads: 8
 

o yea i did but it was WinMX and yes..its pretty nasty 2!:( but when i was downloading it..it was named sumtin different, then...after it downloaded it turned out to be sum shit

afi_freak27
Light Poster
27 posts since Oct 2003
Reputation Points: 10
Solved Threads: 0
 

thats common its not your fault
yeah you type in kazza britney spears and you end up getting granny porn

)BIG"B"Affleck
Master Poster
Banned
766 posts since Oct 2003
Reputation Points: 25
Solved Threads: 8
 

well..ya i know..but how da hell do i get rid of it?!!!!

afi_freak27
Light Poster
27 posts since Oct 2003
Reputation Points: 10
Solved Threads: 0
 
afi_freak27
Light Poster
27 posts since Oct 2003
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: