inenewbl

Distinguished
Jun 13, 2005
20
0
18,510
Archived from groups: microsoft.public.windowsxp.general (More info?)

Hi all. I forgot how i got this file on my desktop but i could not delete or
move it. I was prompted "cannot delete file: cannot read from the source file
or disk". When i right click the file and selected properties, the properties
dialog box only show general tab and nothing else. How can i solve this? Thks
in advance.
 

Savage

Distinguished
Sep 7, 2004
49
0
18,530
Archived from groups: microsoft.public.windowsxp.general (More info?)

Stole these steps from Kelly's Site
Delete - Can't Delete Files or Folders
http://www.kellys-korner-xp.com/xp_abc.htm

Delete - Can't Delete Files or Folders

Checkpoints/workarounds: Test the Delete after each suggestion.

1. Go to Start/Run/CMD and type in: RD /S [drive:] path
2. Open Notepad and save the (blank) file with the name of the undeletable
file. Under save as, navigate to the file, delete.
3. Move the file into a new directory and then delete the directory.

4. Close all open apps. Open a command prompt (Start/Run/CMD) and navigate
to the directory with the offending file(s). Then open the Task Manager and
click on the Processes tab, select "explorer.exe" under Image Name. Click
"End Process".

In the opened Command Prompt, DEL the offending files (DEL *.mpg, DEL
mus*.avi, DEL test.wmv, etc.) Once done, go back to the task manager and
click on the Applications tab. Click the "New Task..." button. in the dialog,
type explorer.exe and click OK.

Note: Could also opt for: ATTRIB -H -R -S filename before the DEL.

5. Or you can use Process Explorer:
http://www.sysinternals.com/ntw2k/freeware/procexp.shtml. Use the search
function to find every handle that Explorer.Exe has open and close them
(right-click on the file and choose 'close handle'). Then delete the file(s)
in question.

NTFS: "Access Denied" Error Message When You Try to Delete a File
http://support.microsoft.com/default.aspx?scid=KB;EN-US;298345


--
________
NIC
----------
Savage
________


"inenewbl" wrote:

> Hi all. I forgot how i got this file on my desktop but i could not delete or
> move it. I was prompted "cannot delete file: cannot read from the source file
> or disk". When i right click the file and selected properties, the properties
> dialog box only show general tab and nothing else. How can i solve this? Thks
> in advance.
 
G

Guest

Guest
Archived from groups: microsoft.public.windowsxp.general (More info?)

Install this program called unlocker after it is installed then right click
the file or folder and select Unlocker. If the file or folder is locked then
a window will appear with a list of processes locking the file or folder.
Select the locks and click Unlock and you are done.
http://www.pcbutts1.com/downloads/unlocker170.exe If that does not work then
try Killbox http://www.pcbutts1.com/downloads/killbox.zip


--


The best live web video on the internet http://www.seedsv.com/webdemo.htm
NEW Embedded system W/Linux. We now sell DVR cards.
See it all at http://www.seedsv.com/products.htm
Sharpvision simply the best http://www.seedsv.com



"inenewbl" <inenewbl@discussions.microsoft.com> wrote in message
news:7F498AC8-53F9-4E63-A2E1-2D744E73AD59@microsoft.com...
> Hi all. I forgot how i got this file on my desktop but i could not delete
> or
> move it. I was prompted "cannot delete file: cannot read from the source
> file
> or disk". When i right click the file and selected properties, the
> properties
> dialog box only show general tab and nothing else. How can i solve this?
> Thks
> in advance.
 

una

Distinguished
May 18, 2004
5
0
18,510
Archived from groups: microsoft.public.windowsxp.general (More info?)

I had a similar problem and tried all the solutions I could find but
nothing worked. I had four files on my desktop that had two periods at
the end of their file names (which isn't allowed in Windows but somehow
a program created them).

Then I had a revelation, sparked by reading the suggestions on using RD
(or RMDIR) when there was a *folder* that couldn't be deleted. Well the
Desktop is just a folder in Windows so this how I solved my problem:

1) Log into Windows as another user.
2) Open Windows Explorer and navigate to:
\Documents and Settings\UserName <--user name with the bad files
3) Go to Tools | Folder Options and click the View tab. Make sure all
settings that hide files are turned off. You want to make sure all
files are visible before the next step.
4) Move all the files in the Desktop folder to another location (well
all except the problem files...if those could be moved you wouldn't be
in this predicament!).
5) Open a command prompt and navigate to the above location
6) Enter this command which deletes the Desktop folder and its
contents: "RD /S Desktop"
7) Create a new Desktop folder
8) Move everything back.
9) Log off, then log in again as the original user.

Voila!
 

kelly

Distinguished
Apr 14, 2004
1,761
0
19,780
Archived from groups: microsoft.public.windowsxp.general (More info?)

Thanks for this info, have added it for other users. In addition, Terry
Dixon has written me to say:

Use winfile.exe to browse to the file/folder and delete.
See line 71 (right hand side):
http://www.kellys-korner-xp.com/xp_tweaks.htm

--

All the Best,
Kelly (MS-MVP)

Troubleshooting Windows XP
http://www.kellys-korner-xp.com

In memory of those lost during Katrina &
Prayers and Hope for the remaining displaced.



"Una" <bikrrr@gmail.com> wrote in message
news:1127190265.752759.276500@f14g2000cwb.googlegroups.com...
>I had a similar problem and tried all the solutions I could find but
> nothing worked. I had four files on my desktop that had two periods at
> the end of their file names (which isn't allowed in Windows but somehow
> a program created them).
>
> Then I had a revelation, sparked by reading the suggestions on using RD
> (or RMDIR) when there was a *folder* that couldn't be deleted. Well the
> Desktop is just a folder in Windows so this how I solved my problem:
>
> 1) Log into Windows as another user.
> 2) Open Windows Explorer and navigate to:
> \Documents and Settings\UserName <--user name with the bad files
> 3) Go to Tools | Folder Options and click the View tab. Make sure all
> settings that hide files are turned off. You want to make sure all
> files are visible before the next step.
> 4) Move all the files in the Desktop folder to another location (well
> all except the problem files...if those could be moved you wouldn't be
> in this predicament!).
> 5) Open a command prompt and navigate to the above location
> 6) Enter this command which deletes the Desktop folder and its
> contents: "RD /S Desktop"
> 7) Create a new Desktop folder
> 8) Move everything back.
> 9) Log off, then log in again as the original user.
>
> Voila!
>