Can I get F2 to include the extension?


  1. Posts : 478
    Windows 10
       #1

    Can I get F2 to include the extension?


    If I use F2 on a selected file, the extension is not included. Is this new to Win 10? (I've come straight from 15 year with XP.)

    Is there a setting or a reliable registry hack I can apply to get back to what I consider 'normal' operation please?

    --
    Terry, East Grinstead, UK
      My Computer


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

    Extensions are hidden by default.

    Open File Explorer
    Click on the view menu
    Tick file name extensions.
      My Computers


  3. Posts : 478
    Windows 10
    Thread Starter
       #3

    Perhaps you misunderstood?

    Showing extensions is the first thing I did on installing Win 10. So extensions obviously appear in the filenames.

    Did you try it? IOW, assuming you show extensions, what happens when you press F2?

    Terry, East Grinstead, UK
      My Computer


  4. Posts : 17,838
    Windows 10
       #4

    Terrypin said:
    Perhaps you misunderstood?

    Showing extensions is the first thing I did on installing Win 10. So extensions obviously appear in the filenames.

    Did you try it? IOW, assuming you show extensions, what happens when you press F2?

    Terry, East Grinstead, UK
    It's probably a precaution, just simply highlight the whole thing or reset your cursor behind the extension, if you must.
      My Computer


  5. Posts : 478
    Windows 10
    Thread Starter
       #5

    Thanks.

    My motives are not typical. My most frequent use of F2 is within macro scripts (created with Macro Express Pro) which capture a full filename (and path) for later use.

    I'm already having to edit hundreds of macros to work in Win 10, and this just adds one more reason . A trivial change admittedly, but it has to be applied to each individual macro that includes any script line referring to F2 commands.

    I did try installing a hex editing program to see if I could find a way to make this sort of change globally. I have a sort of 'composite' file containing *all* macros, in proprietary format. But the only changes I've ever been able to make to it are those which retain exactly the same size. I expect a programmer could do it, but I'm not one. So the best I can envisage is yet another macro. It would have to step through all my thousand or so macros and edit those which contain any commands referencing the F2 key.



      My Computer


  6. Posts : 15,480
    Windows10
       #6

    Edwin said:
    It's probably a precaution, just simply highlight the whole thing or reset your cursor behind the extension, if you must.
    Yeah - it is so you can easily rename a file, but not so easily change the extension as extensions are usually tied to an app e.g. a .txt file is tied to notepad by default.
    Last edited by cereberus; 21 Jul 2016 at 17:46.
      My Computer


  7. Posts : 1,255
    Windows 10 Pro
       #7

    I am not aware of any way of changing this behavior of Windows Explorer. It is not new in Windows 10 but has been that way since at least Windows 7. Most alternate file managers work this way as well. This is a feature that allows easily renaming a file without effecting it's extension.
      My Computer


  8. Posts : 14,007
    Win10 Pro and Home, Win11 Pro and Home, Win7, Linux Mint
       #8

    F2 is not active within my Win10 Desktop after Windows has loaded, however F2 or Fn + F2 [or other Fx key] does have different functions on my Notebooks but it depends on the brand and the model. Some Brand-name Desktops use F2 to enter the BIOS, mine are Custom and use the Del key.
      My Computers


  9. Posts : 414
    Windows 10 Pro
       #9

    Terrypin said:
    Is there a setting or a reliable registry hack I can apply to get back to what I consider 'normal' operation please?
    Apparently, not. But some workarounds are covered in this answer

    Select full file name when renaming on Windows - Super User
      My Computer


  10. Posts : 478
    Windows 10
    Thread Starter
       #10

    AndreyT said:
    Apparently, not. But some workarounds are covered in this answer

    Select full file name when renaming on Windows - Super User
    Thanks, interesting thread with links to some useful tools.
      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 15:01.
Find Us




Windows 10 Forums