Windows 10: How to delete ,,CON.txt''?

Discus and support How to delete ,,CON.txt''? in Windows 10 Network and Sharing to solve the problem; Hi I saw a video that you can't name files CON.txt etc. in Windows. I thought I'd give it a try. Somehow I managed to create it it's on my Desktop.... Discussion in 'Windows 10 Network and Sharing' started by GergőRózsa, Aug 23, 2020.

  1. How to delete ,,CON.txt''?


    Hi

    I saw a video that you can't name files CON.txt etc. in Windows. I thought I'd give it a try. Somehow I managed to create it it's on my Desktop. When I open it it says it doesn't exist, and asks me if I want to create a new file with that name. I click yes, but I can't overwrite the file, it says Invalid file descriptor I used Google translator. When I try to delete it with CMD, and I press Tab it shows CON.txt, but when I type del CON.txt it says it doesn't exist.

    So is there a way to delete it or.. no?

    :)
     
    GergőRózsa, Aug 23, 2020
    #1

  2. Generating a .txt based file list in Windows 7

    No, that > bla.txt is the target file to write to. You could use a wildcard in the argument, ie c:\windows\*.txt which would list all dlls in c:\windows. But adding that to a simple right-click would be tricky.

    Basically you would execute fancyfile.bat c:\windows\*.txt, fancyfile.bat would then write all .txt files to bla.txt.
     
    DanTheBanjoman, Aug 23, 2020
    #2
  3. dark2099 Win User
    Generating a .txt based file list in Windows 7

    I want to be able to generate a .txt file that lists all the files and folders in a specific folder on my PC, but don't know the name of any programs that do that. Searched on google a bit and came up with this guide, but it's for XP and I can't seem to find some of the folder options to modify the .bat file. Any suggestions? Thanks

    http://www.theeldergeek.com/file_list_generator.htm

    EDIT: The .bat file will do what I want if it is in the folder I want to do it in, but the option I want to add is having the right click option that it shows.
     
    dark2099, Aug 23, 2020
    #3
  4. topgundcp Win User

    How to delete ,,CON.txt''?

    Unable to delete a folder - Invalid folder name


    Suggestion:
    1. Run chkdsk x: /r to make sure that there's no HD corruption.
      x: is the drive containing the folder you want to delete.
    2. Try to delete the folder again. If still does not work, go to step 3.
    3. Download: Download - Linux Mint and create a bootable USB using: Rufus - Create bootable USB
    4. Boot up with Linux Mint and try to delete the folder again.
      NOTE: Unlike WinPE. Linux does not have any Windows permission imposed to it so it is easier to delete.
     
    topgundcp, Aug 23, 2020
    #4
Thema:

How to delete ,,CON.txt''?

Loading...
  1. How to delete ,,CON.txt''? - Similar Threads - delete CON txt''

  2. how to convert .txt to .html

    in Windows 10 Gaming
    how to convert .txt to .html: how to convert from .txt to .html https://answers.microsoft.com/en-us/windows/forum/all/how-to-convert-txt-to-html/907c1bd6-d041-4aa3-a53f-577bd0432d79
  3. how to convert .txt to .html

    in Windows 10 Software and Apps
    how to convert .txt to .html: how to convert from .txt to .html https://answers.microsoft.com/en-us/windows/forum/all/how-to-convert-txt-to-html/907c1bd6-d041-4aa3-a53f-577bd0432d79
  4. txt

    in Windows 10 Network and Sharing
    txt: https://answers.microsoft.com/en-us/windows/forum/all/%E7%94%A8%E8%AE%B0%E4%BA%8B%E6%9C%AC%E6%89%93/a16ba6b2-3e6b-4cfc-80be-a804366db214
  5. txt

    in Windows 10 Gaming
    txt: https://answers.microsoft.com/en-us/windows/forum/all/%E7%94%A8%E8%AE%B0%E4%BA%8B%E6%9C%AC%E6%89%93/a16ba6b2-3e6b-4cfc-80be-a804366db214
  6. txt

    in Windows 10 Software and Apps
    txt: https://answers.microsoft.com/en-us/windows/forum/all/%E7%94%A8%E8%AE%B0%E4%BA%8B%E6%9C%AC%E6%89%93/a16ba6b2-3e6b-4cfc-80be-a804366db214
  7. how to delete aux and con folder ?

    in Windows 10 Network and Sharing
    how to delete aux and con folder ?: with the help of prompt command i made con and aux folder but now i am unable to delete it so kindly give me any suggestion to delete those folders. https://answers.microsoft.com/en-us/windows/forum/all/how-to-delete-and-con-folder/bb615470-669b-437b-a678-1c94ea17b391
  8. How to open txt on Windows Phone?

    in Windows 10 Software and Apps
    How to open txt on Windows Phone?: I am facing a chicken and egg problem. I need to open txt, to copy/paste my passwords, but in order to do so, I need to download an app. But in order to do that I need to login to MS account, so I need to copy/paste? Any idea how to get out this pickle, maybe using a...
  9. How to delete an nonempty con folder

    in Windows 10 Network and Sharing
    How to delete an nonempty con folder: Hello, My name is Abdulrahman. I have recently made a folder called con using command prompt and I accidentally put useless file in it so I can't delete it using command prompt. Are there any other ways i can delete it? PS: No problem if i have to delete the file in it....
  10. con.* file delete

    in Windows 10 Network and Sharing
    con.* file delete: I was making a placeholder file with a random name and i acciedntally typed "con" in the name. I now can't delete the file. Can anybody help me? https://answers.microsoft.com/en-us/windows/forum/all/con-file-delete/da93bf49-71c2-41da-aa91-b23ac3b6bfd4"