Unable to remove a file

Page 2 of 2 FirstFirst 12

  1. Posts : 42,984
    Win 10 Pro (22H2) (2nd PC is 22H2)
       #11

    Use a bootable disk, boot your PC from that, and delete your file/folder.

    Use Kyhi's bootable DVD or flash drive (at the top of the Software and Apps section) for a Win 10 environment, or a Win 10 bootable medium for command prompt.

    Or boot to a command prompt via SHIFT left click restart.
    Last edited by dalchina; 04 Apr 2017 at 05:52.
      My Computers


  2. Posts : 61
    Windows 10 Pro
    Thread Starter
       #12

    Ok I'm always nervous when I start booting this way.
    Just so that I am clear, I boot up using a windows repair disk, boot to a command prompt, navigate to the folder location and delete? Yes, no?
      My Computer


  3. Posts : 42,984
    Win 10 Pro (22H2) (2nd PC is 22H2)
       #13

    I think you'd be more comfortable with this:
    Kyhi's bootable DVD (see previous post).
      My Computers


  4. Posts : 93
    Windows 10
       #14

    Stevenson53, create this batch file, “DeleteFolder.bat”.
    Code:
    rd /s /q \\?\%1
    Drag-drop the undeletable folder onto the icon of this batch script (make sure it’s the right folder!). Remove the batch file when done.

    This has worked many times in the past for stubborn folders.
      My Computer


  5. Posts : 61
    Windows 10 Pro
    Thread Starter
       #15

    So having never created a batch file before, i thought I would give it a go. I did what you suggested Pyprohly, created the batch file using Notepad on the desktop, dropped the stubborn folder set onto the icon, and it disappeared!
    Just so easy, thanks heaps.
    Thats another problem solved, till the next time.
    Thanks to you as well Dalchina for your time and patience, again!
      My Computer


  6. Posts : 1,097
    Windows 10 Home x64 Version 1809 (OS Build 17763.437)
       #16

    Pyprohly said:
    Stevenson53, create this batch file, “DeleteFolder.bat”.
    Code:
    rd /s /q \\?\%1
    Drag-drop the undeletable folder onto the icon of this batch script (make sure it’s the right folder!). Remove the batch file when done...
    Do you save the batch file to the Desktop or where?
      My Computer


  7. Posts : 61
    Windows 10 Pro
    Thread Starter
       #17

    Yes onto the desktop
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 08:59.
Find Us




Windows 10 Forums