Folder with invalid character does not open.

Page 1 of 2 12 LastLast

  1. Posts : 13
    Windows 7 Professional x64
       #1

    Folder with invalid character does not open.


    Hi all,

    I have encountered an issue where a folder will not open under Windows 7. Selecting the folder does nothing, and right-selecting the folder does not bring up any context menu. I happen to know that there is media content inside the folder.

    Closer inspection of the folder name gave me cause for concern about the ":" character and, sure enough, it turns out that this is an illegal character for an NTFS folder name. I am guessing this is why Windows does not want to open the folder for me, though I cannot explain how it allowed me to create it in the first place.

    I can't rename the folder either - if I try that using 'F2' then it allows me to edit the name but as soon as I press enter Windows complains that it can't find the file specified.

    Any ideas how I can recover this situation?

    Last edited by Brian J Hoskins; 13 Oct 2014 at 06:01. Reason: Update bad link to screen grab
      My Computer


  2. Posts : 13
    Windows 7 Professional x64
    Thread Starter
       #2

    Even stranger:

    I decided to mount this disk on my Linux system to see if I would have more luck there. Linux allowed me to rename the folder, removing the ":" character. I browsed completely away from the drive, back in, and yes - it was indeed renamed. Excellent. I dismounted the drive from Linux, connected it back to Windows 7, and then the folder was back with the ":" character in it again!!!
    I dismounted, put it back on my Linux system, and sure enough the ":" character is back.

    What is going on here?!
      My Computer


  3. Posts : 1,346
    Windows 7 Professional x64
       #3

    Brian J Hoskins said:
    Even stranger:

    I decided to mount this disk on my Linux system to see if I would have more luck there. Linux allowed me to rename the folder, removing the ":" character. I browsed completely away from the drive, back in, and yes - it was indeed renamed. Excellent. I dismounted the drive from Linux, connected it back to Windows 7, and then the folder was back with the ":" character in it again!!!
    I dismounted, put it back on my Linux system, and sure enough the ":" character is back.

    What is going on here?!
    Maybe the problem is caused by an infection; virus or malware. Have you run any scans with products designed to check for infections? Have you installed any new software?

    HTH
      My Computer


  4. Posts : 4
    7 32bits
       #4
      My Computer


  5. Posts : 13
    Windows 7 Professional x64
    Thread Starter
       #5

    Sir George said:
    Maybe the problem is caused by an infection; virus or malware. Have you run any scans with products designed to check for infections? Have you installed any new software?

    HTH
    Hmmm, I somehow doubt that but I will try it when I get home just to make certain. Thanks.
      My Computer


  6. Posts : 31,249
    Windows 11 Pro x64 [Latest Release and Release Preview]
       #6

    Used to have this type of problem in dos days dealing with files from unix servers and such and used to use XtreeGold to sort things.

    This purports to be the natural sucessor to the old program and may be worth a try

    ZTreeWin

    Not tested or tried so cannot give any guarantee :)
      My Computers


  7. Posts : 3,009
    Windows 7 Home Premium 64bit
       #7

    I admit that this is out of my comfort zone, but I just came across this in a search:
    Script Remove Invalid Characters from File Names

    P.S. I would always do a backup before attempting any changes which I was unsure about.
      My Computer


  8. Posts : 4,776
    Microsoft Windows 7 Home Premium 64-bit 7601 Multiprocessor Free Service Pack 1
       #8

    Something to try


    Hi.

    You could try renaming the folder using command prompt. (Start> Run then type cmd.exe) press Enter.

    Use the cd command to change to the directory where the folder is located then try renaming it.

    Here's an example showing a folder named test2 being renamed to test002 on my desktop.

    Before:

    Folder with invalid character does not open.-cmd.jpg

    After:

    Folder with invalid character does not open.-cmd2.jpg

    As you can see - type:

    ren foldername newfoldername

    Press enter.

    I've actually got no idea if the folder name containing the invalid character will be accepted for renaming but it's worth a try!
    Last edited by Callender; 02 Feb 2014 at 11:28. Reason: Correct a typo
      My Computer


  9. Posts : 4,776
    Microsoft Windows 7 Home Premium 64-bit 7601 Multiprocessor Free Service Pack 1
       #9

    MFT


    Brian J Hoskins said:
    Even stranger:

    I decided to mount this disk on my Linux system to see if I would have more luck there. Linux allowed me to rename the folder, removing the ":" character. I browsed completely away from the drive, back in, and yes - it was indeed renamed. Excellent. I dismounted the drive from Linux, connected it back to Windows 7, and then the folder was back with the ":" character in it again!!!
    I dismounted, put it back on my Linux system, and sure enough the ":" character is back.

    What is going on here?!
    I reckon that it's possible that the folder retained it's original name due to the entry in the MFT - it would still contain the original folder name for the folder in that location. I'm not sure that this is the case but the test would be to move the renamed folder to somewhere else in your windows partition using Linux.
      My Computer


  10. Posts : 13
    Windows 7 Professional x64
    Thread Starter
       #10

    Thank you very much to everyone for your suggestions. Very much appreciated.

    It will be a couple of days before I can try them all out and report back so I thought I'd at least send my thanks in the meantime.
      My Computer


 
Page 1 of 2 12 LastLast

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

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