Go Back   Computer Forums > General Computing > Hardware
Click Here to Login
Join Computer forums Today


Reply
 
Thread Tools Search this Thread Display Modes
 
Old 04-26-2007, 10:30 PM   #1
Baseband Member
 
stuckinthecave's Avatar
 
Join Date: Apr 2007
Posts: 59
Send a message via AIM to stuckinthecave Send a message via MSN to stuckinthecave
Default Can't Delete File

I have a file that I can't delete. It won't move, copy, rename. I can't change the properties, it won't delete in safe mode or cmd, and it won't open in any program. I've scanned it with various virus, adware, spyware, and malware programs including norton and mcafee, but none of them thought is was a threat. I don't know what it is and I'm afraid it could harm my system. The last thing I want to do is format my drive and start clean, but I will if I have to.
__________________

stuckinthecave is offline   Reply With Quote
Old 04-26-2007, 10:34 PM   #2
Daemon Poster
 
mayorredbeard's Avatar
 
Join Date: Nov 2004
Posts: 1,246
Default Re: Can't Delete File

Relax you probably won't have to reformat. A couple questions first:

1. Do you have administrator privileges on your account?
2. What's the name of the file?
3. What's the directory of the file?


It may be denying you access to delete it for the following reasons:

1. It's a system critical file
2. You do not have privileges to remove it
3. It is currently in use by a program

However if any of those three things are not true, try deleting it through the command prompt. Go to: Start > Run. Then type in CMD and press enter.

In the command prompt navigate to the directory where the file is. To do this first make sure that you are starting in the root directory. The first line of text should have a directory listed to it, it may say just C:\> or it may say C:\Random Folder>. If the latter is true, type in "cd.." without the quotation marks. Continually type that in and hit enter until you are at the root C: directory. To navigate to a different directory type in cd then the directory name. For example if the file was in C:\Program Files\Unreal Tournament\Noobs you would type this in:

cd "Program Files"\"Unreal Tournament"\Noobs

You put quotation marks around directories that have spaces in the name. Once you are in the correct directory type in:

del "File Name"

It should then be deleted. If you are having trouble navigating using the command prompt, tell me what directory it is in and I will tell you exactly what to type in.
__________________

__________________
Karma/rep is always appreciated
01010010011001010110010001100010011001010110000101 11001001100100
010011110111010101110100

There are only 10 kinds of people in this world. Those who can read binary, and those who can't.
mayorredbeard is offline   Reply With Quote
Old 04-26-2007, 10:36 PM   #3
Baseband Member
 
stuckinthecave's Avatar
 
Join Date: Apr 2007
Posts: 59
Send a message via AIM to stuckinthecave Send a message via MSN to stuckinthecave
Default Re: Can't Delete File

I am the admin, the file name is like 100 characters long, and it's on the desktop.
stuckinthecave is offline   Reply With Quote
Old 04-26-2007, 10:48 PM   #4
Daemon Poster
 
mayorredbeard's Avatar
 
Join Date: Nov 2004
Posts: 1,246
Default Re: Can't Delete File

Okay so try and rename the file, but instead copy the file name. This way you wont have to type it all out.

Go to start > run
Then type in cmd and hit enter.

Then type this into the command prompt. <enter> means to press enter. Italics are description of what you are doing.

cd.. <enter>
cd.. <enter>
cd.. <enter>
This is just to make sure you are at the root directory

cd C:\"Documents and Settings"\"Your windows xp username goes here"\Desktop <enter>
Here you are telling the CMD prompt to navigate to the desktop

del "file name here"
Here you are telling the cmd prompt to delete the file. Hit control 'v' to paste the file name that you copied earlier
__________________
Karma/rep is always appreciated
01010010011001010110010001100010011001010110000101 11001001100100
010011110111010101110100

There are only 10 kinds of people in this world. Those who can read binary, and those who can't.
mayorredbeard is offline   Reply With Quote
Old 04-26-2007, 10:52 PM   #5
Golden Master
 
freestyler105's Avatar
 
Join Date: Sep 2006
Posts: 7,883
Default Re: Can't Delete File

You know in command prompt you can autocomplete filenames by pressing tab, right??
__________________
C2D E6600 | 4GB DDR2-800 | 9800GTX+ | Asus P5B-E | 150GB Raptor | 320GB 7200.10 | 750W Xigmatek PSU
freestyler105 is offline   Reply With Quote
Old 04-26-2007, 10:54 PM   #6
Daemon Poster
 
mayorredbeard's Avatar
 
Join Date: Nov 2004
Posts: 1,246
Default Re: Can't Delete File

Quote:
Originally Posted by freestyler105 View Post
You know in command prompt you can autocomplete filenames by pressing tab, right??
Now I do :-P. Also right click the file and make sure it's not read only under properties. That would be the simplest of explanations now that I think about it :-D
__________________
Karma/rep is always appreciated
01010010011001010110010001100010011001010110000101 11001001100100
010011110111010101110100

There are only 10 kinds of people in this world. Those who can read binary, and those who can't.
mayorredbeard is offline   Reply With Quote
Old 04-26-2007, 10:55 PM   #7
Baseband Member
 
stuckinthecave's Avatar
 
Join Date: Apr 2007
Posts: 59
Send a message via AIM to stuckinthecave Send a message via MSN to stuckinthecave
Default Re: Can't Delete File

When I right click, the drop down menu appears. I'm sure you've seen a normal one, but mine only has:

Preview
Print
Edit with Fireworks
Preview
Open With
Send to

Notice it's missing a few key elements. This only happens with this file. I opened the properties menu with alt+double click but trying to rename it gave me the error message "cannot read from the source file or disk". I did try to delete via CMD, copying the file name letter by letter, but it said it couldn't find the file. Maybe it's not there and I'm just losing my mind.
stuckinthecave is offline   Reply With Quote
Old 04-26-2007, 10:58 PM   #8
Baseband Member
 
stuckinthecave's Avatar
 
Join Date: Apr 2007
Posts: 59
Send a message via AIM to stuckinthecave Send a message via MSN to stuckinthecave
Default Re: Can't Delete File

Can i rename via CMD?

Edit:
Not RO.
stuckinthecave is offline   Reply With Quote
Old 04-26-2007, 11:00 PM   #9
Daemon Poster
 
mayorredbeard's Avatar
 
Join Date: Nov 2004
Posts: 1,246
Default Re: Can't Delete File

Yah you type ren "file name here"

Do what he said. Type the first couple letters of the file then hit tab and it will autofinish it for you.
__________________
Karma/rep is always appreciated
01010010011001010110010001100010011001010110000101 11001001100100
010011110111010101110100

There are only 10 kinds of people in this world. Those who can read binary, and those who can't.
mayorredbeard is offline   Reply With Quote
Old 04-26-2007, 11:02 PM   #10
Baseband Member
 
stuckinthecave's Avatar
 
Join Date: Apr 2007
Posts: 59
Send a message via AIM to stuckinthecave Send a message via MSN to stuckinthecave
Default Re: Can't Delete File

I tried the rename and delete with the tab, neither worked. This time it did say the file name or extension was too long, so I know i'm not going crazy.
__________________

stuckinthecave is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

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



All times are GMT -5. The time now is 04:44 PM.


Powered by vBulletin® Version 3.8.8 Beta 4
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Search Engine Friendly URLs by vBSEO 3.6.0