Is there a way to turn off the file extension rename dialog in Windows 7?
The one that prompts you
Rename: If you change a filename extension, the file might become unusable. Are you sure you want to change it?
Solution:
It’s possible with an AutoHotkey script:
While, 1{ WinWait, Rename ahk_class #32770 WinActivate, ControlClick, Button1}
Install AutoHotkey, save the code above in a file with the .ahk extension and launch the script. It will wait for the Rename window to appear. When it does, it automatically “clicks” on the Yes button (identified here with “Button1”).
If you don’t want to install AutoHotkey, here is a compiled version of the same script. Run the executable and watch it do its magic 🙂 .
Note it does not really answer the question, as the question still appears. But it’s automated so you’ll not be bothered by it anymore.