Rename file - extension selected or not


  1. Posts : 16
    Windows 7 Home Premium
       #1

    Rename file - extension selected or not


    Is there a pattern to when the file extension is highlighted when you select RENAME from the right-click menu?
      My Computer


  2. Posts : 6,021
    Win 7 HP SP1 64-bit Vista HB SP2 32-bit Linux Mint 18.3
       #2

    Hi fishcad,

    fishcad said:
    Is there a pattern to when the file extension is highlighted when you select RENAME from the right-click menu?
    I don't quite understand what you are asking!
      My Computer


  3. Posts : 7,351
    Windows 7 HP 64
       #3

    On default, Windows don't show file extensions on Explorer. That is the best way to run a malicious software. (Naked.jpg.exe will show as Naked.jpg (image file) but it is an executable file).
    If you want to show all file name, open Control Panel\All Control Panel Items\Folder Options, click view tab and un mark Hide extensions of known file types.
      My Computers


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

    I think it is a Windows saftey feature to not hi-lite the extension. I have programmed a key to do a 'select all' (very handy). So, for me it is a 2-step op, i.e. F2 + key. Or just use mouse to select the entire name.
      My Computer


  5. Posts : 16
    Windows 7 Home Premium
    Thread Starter
       #5

    Paul Black said:
    Hi fishcad,



    I don't quite understand what you are asking!
    In some folders when I click on a file and then right-click > rename the extension is not highlighted so when you type a new name you don't need to include the extension. In other folders when I click on a file and then right-click > rename the entire filename including the extension is highlighted so you have to type in the extension. Not a big deal but I wish it was consistent.
      My Computer


  6. Posts : 630
    Windows 10 Pro 64 bit
       #6

    fishcad said:
    In some folders when I click on a file and then right-click > rename the extension is not highlighted so when you type a new name you don't need to include the extension. In other folders when I click on a file and then right-click > rename the entire filename including the extension is highlighted so you have to type in the extension. Not a big deal but I wish it was consistent.
    Can you please name the file extension that you are referring to. Such as .jpg .pdf and so on. And is it always the same extension or multiple extension.
      My Computer


  7. Posts : 0
    Windows 7 Ultimate x64
       #7

    It sounds like the folder type is at issue here. You've probably noticed that you can go into a folder's properties and make it for music or documents, etc.

    What is the folder type for when you CAN edit the extension and what is the folder type for when you CAN'T edit a file extension?

    This is just my guess, and knowing Windows it's probably just that.

    Edit- I just tried my little experiment myself and don't see a pattern. Right clicking the file name in any type of folder whether that be for music or documents just highlights the name and not the extension.
      My Computer


  8. Posts : 16
    Windows 7 Home Premium
    Thread Starter
       #8

    I went through the 3 drives on my computer, several USB sticks, and my phone. It is only on the phone where the extension is selected along with the filename when renaming a file. I just never before spent the effort to figure that out. Still don't know why it's different on the phone but at least I see the pattern.
      My Computer


  9. Posts : 0
    Windows 7 Ultimate x64
       #9

    So the phone is connected to the computer via USB? I'll have to try that and see if I can get the same result.

    Like I said, it has to be like a folder properties thing or maybe it's even a type of storage now that you narrowed it down to a phone.
      My Computer


  10. Posts : 2,497
    Windows 7 Pro 64 bit
       #10

    If I understand the situation correctly it appears to work like this:

    If the file is on a local drive or on a Windows network Windows Explorer treats the extension as special because in Windows it has a special meaning. In this case the extension is not selected to avoid accidentally changing it.

    If the file is on a non Windows network drive with an unknown OS and file system, as is the case with your phone, Explorer makes no assumptions about the extension. Windows conventions about file extensions may not apply. The extension is treated as part of the name and selected as such.
      My Computer


 

  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 14:40.
Find Us