Re: Undeletable file



You seem to be bypassing the important point here and each of your
suggestions seem to be missing a little.


"WTC" <bcrawfordjr(remove)@hotmail.com> wrote in message
news:e0Yz3NxHGHA.2064@xxxxxxxxxxxxxxxxxxxxxxx
> "Stephen Kleckner" <StephenKleckner@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in
> message news:BF894F10-FB6F-4688-856F-9345840875E3@xxxxxxxxxxxxxxxx
>>I have a file on my desktop that I cannot be deleted. The file name is
>>CA2JCDA7
>> This file doesn't have the permission tab.
>> I tried to delete it with command MS-DOS but without results.
>>
>
>
> To delete an undeletable file.
>
> Method 1
>
> 1. Create a new temporary folder.
> 2. Try and move the undeletable file into the newly created folder.
> 3. Delete the newly created folder.
>
> --------

If the file is in use you can't move it.

Do this from SAFE mode, only a minimal set of drivers gets loaded. Or Go to
System explorer and kill that process. Problem is that something somewhere
points to it to get loaded so you may receive error messages- it can't find
the file.



>
> Method 2
>
> 1. Write down the path and filename of the undeletable file.
> 2. Open a command prompt window. (Start > Run > cmd.exe)
> 3. Open the Task Manager. (Start > Run > taskmgr.exe)
> 4. In the Task Manager, find the process called "Explorer" and end the
> process for explorer. (This will make the desktop and taskbar disappear)
> 5. Close the Task Manager.
> 6. In the command prompt window, type:
>
> del /a /f "\\?\path\filename"
>
> So if the file was called abc.jpg located in c:\pictures then the command
> would look like:
>
> del /a /f "\\?\c:\pictures\abc.jpg"
>
> 7. To regain your desktop and taskbar, type the following in the command
> prompt window:
>
> explorer.exe
>
> -------


A DOS sessin in XP sits on top of Windows- so if the file was in use it is
still in use.

Run DOS, not a DOS session so it doesn't get loaded.


>
> You may wish to read this KB article.
>
> You cannot delete a file or a folder on an NTFS file system volume
> http://support.microsoft.com/?kbid=320081
>
>
> --
> William Crawford
> MS-MVP Windows Shell/User
>


.



Relevant Pages

  • Re: reply
    ... neither the listed name or command line ... > folder temporarily by using attrib.exe: ... > In DOS (you may have to restart into DOS to lock this ... > that the trojan is suspected of running at WinME ...
    (microsoft.public.security.virus)
  • Re: Wheres the saved files from deleted users
    ... If you can then see the folder and file, ... Move cmd in Dos? ... arrow key to the end of the command line and append ...
    (microsoft.public.windowsxp.general)
  • Re: Ways to get a Directory Listing in a Text File, or Printed out - Re: Web site directories
    ... Use the CD Command, in a Command Prompt Window ... That doesn't specify a folder, just changes to the specified folder, ... if yo ucall up a Script (or Batch File) by using the *RightClick* ...
    (uk.people.silversurfers)
  • Re: Cant delete even at the comand prompt.
    ... There used to be a deltree type command in dos, ... Could the setting for the folder be effecting the files in it. ... I forgot what a pain DOS ...
    (microsoft.public.windowsxp.basics)
  • Re: Cant map folder
    ... And they are read after logon for each logon and are only user specific not system. ... It is not read on boot (unlike Windows and Dos). ... Put it in task scheduler but startup folder is easier. ... > making the SUBST command work with XP? ...
    (microsoft.public.windowsxp.setup_deployment)