Seeking Advice for Deleting a File that Won't Delete

Page 2 of 3 FirstFirst 123 LastLast

  1. Posts : 16,950
    Windows 10 Home x64 Version 22H2 Build 19045.4170
       #11

    jdUnionngarden said:
    No, My Bad ... my eyes are going blurry trying all the various attempts and syntax ... but, it looks like the filename is as I've beeen using:

    Attachment 332131
    You appear to have missed post #8 - this post identifies your problem and states how to avoid it.

    Denis
      My Computer


  2. Posts : 1,807
    Windows 10 Pro 21H1 19043.1348
       #12

    jdUnionngarden said:
    No, My Bad ... my eyes are going blurry trying all the various attempts and syntax ... but, it looks like the filename is as I've beeen using:

    Attachment 332131

    OK, when you're already in D: there's no need to specify D: again. So, you seemed to have successfully navigated to the subdirectory \Misc\ which contains the longfilename.mkv

    Excellent.

    For future reference, when you're navigating directories, don't specify the file name, that's the target once you arrive in the correct subdirectory.



    Wait, you can read the longfilename.mkv already in your screenshot. just type del andtheentirelongname.mkv + return.


    If you type dir *.mkv you should see all files in that directory with an .mkv extension. Locate the one you want to remove and type del thereallylongfilename.mkv + return.


    Sorry Jeff, as Denis mentioned, you must add " at the beginning and end of your command to accommodate for the spaces. So D:\...\Misc\del "really long name.mkv" + enter.
    Last edited by W10 Tweaker; 10 May 2021 at 16:32.
      My Computer


  3. Posts : 1,807
    Windows 10 Pro 21H1 19043.1348
       #13

    From your screenshot in post #10, I can see that you're navigated to the correct directory that contains the file you want to delete. I see the filename in that post is;

    Edit PDF Like Word With Wondershare PDFelement.mkv


    So proceed as follows;

    D:\z Install Files\zxOffice, Misc Details Fraud 2013\Misc> del "Edit PDF Like Word With Wondershare PDFelement.mkv"


    This is the file name.

    Seeking Advice for Deleting a File that Won't Delete-0510-crazy-long-filename.jpg
      My Computer


  4. Posts : 395
    Windows 10 Pro, Ver. 21H2 (OS Build 19044.1706)
    Thread Starter
       #14

    Try3 said:
    jdU,

    You need to enclose paths & filenames that contain spaces or special characters within quotation marks.

    For example,
    Code:
    Del "Z:\half a pound of tuppeny rice\half a pound of treacle.mkv"
    or
    Code:
    CD /D "Z:\half a pound of tuppeny rice\"

    Denis
    Thanks Denis, That's clearly the (cmd syntax) answer ... but ... executing that command has the cursor move to the next line and it just hangs there, same as my other direct delete attempts. i.e. looks like the file is locked. I've confirmed in task manager the App it relates to is not running.
    I deleted another unneeded file from the same directory with no problems.
      My Computer


  5. Posts : 1,807
    Windows 10 Pro 21H1 19043.1348
       #15

    jdUnionngarden said:
    Thanks Denis, That's clearly the (cmd syntax) answer ... but ... executing that command has the cursor move to the next line and it just hangs there, same as my other direct delete attempts. i.e. looks like the file is locked. I've confirmed in task manager the App it relates to is not running.
    I deleted another unneeded file from the same directory with no problems.


    Check post #13. Have you entered everything as I've shown in that post?


    You can test the file attributes by typing the following from;

    D:\z Install Files\zxOffice, Misc Details Fraud 2013\Misc>attrib "Edit PDF Like Word With Wondershare PDFelement.mkv"
      My Computer


  6. Posts : 67
    Windows 11 Pro 21H2
       #16

    This gonna sound ridiculous but i swear it's worked for me. Actually open Winrar, then use the navigation tree to get to the file location & select the file then try the delete button from within winrar...it's dumb but i've gotten rid of pesky files that wouldn't otherwise delete that way b4.
      My Computer


  7. Posts : 16,950
    Windows 10 Home x64 Version 22H2 Build 19045.4170
       #17

    jdU,

    If you are now using the correct syntax but the file will not delete then you can try moving all other files & all subfolders out of that directory then use this procedure

    my ditty about using RoboCopy to clear out a rogue file - TenForums

    Denis
      My Computer


  8. Posts : 395
    Windows 10 Pro, Ver. 21H2 (OS Build 19044.1706)
    Thread Starter
       #18

    W10 Tweaker said:
    Check post #13. Have you entered everything as I've shown in that post?


    You can test the file attributes by typing the following from;

    D:\z Install Files\zxOffice, Misc Details Fraud 2013\Misc>attrib "Edit PDF Like Word With Wondershare PDFelement.mkv"
    @W10 Tweaker
    Just A = Archive

    Seeking Advice for Deleting a File that Won't Delete-image.png
    ...scratching my head
      My Computer


  9. Posts : 1,594
    win10 home
       #19

    This might work for you.
    Left click on file/folder.
    Right click on the selection.
    Left click on "properties"
    Left click on "details" tab.
    At the bottom of the window,left click on "remove properties and personal information"
    In the new window,left click on second Radio button "remove the following properties from this file".
    In the same window,left click "select all".
    Then left click "O.K."
    In the "details" tab window,left click "O.K."
    Hopefully should now be in the Recycle bin.
      My Computer


  10. Posts : 7,607
    Windows 10 Home 20H2
       #20

    jdUnionngarden said:
    I deleted another unneeded file from the same directory with no problems.
    Try using the BAT file in option 7 to delete the folder after moving other files into a different folder.

    Delete Folder in Windows 10

    Note: the folder will be permanently deleted.
      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 00:20.
Find Us




Windows 10 Forums