Home » Questions » Computers [ Ask a new question ]

Turn off change file extension warning in Windows 7

Turn off change file extension warning in Windows 7

Is there a way to turn off the file extension rename dialog in Windows 7?

Asked by: Guest | Views: 226
Total answers/comments: 5
Guest [Entry]

"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."
Guest [Entry]

"It is very much possible, with the right tools, patience, and nice disassembler and some luck you can disable it.

However, it is not as simple as changing a registry key.

Here is an example of someone disabling the ""delay"" when you try to delete a file that is in use.
http://www.codeproject.com/KB/system/NoDeleteDelay.aspx
I just tried to poke around and didn't find anything useful.

I think a better solution than RtvReco is for someone to create a menu option to the context menu that says like ""Rename2"" and pops up a messagebox prompting for the new filename and uses Windows API to rename it."
Guest [Entry]

"You can't, however, all is not lost.
You can use RtvReco to automatically close the warning as soon as it appears. this nifty little tool is designed to automate many aspects of Windows, by pressing buttons in annoying dialog boxes, choosing menu items, maximising, and minimising windows for you.
... or use a decent file mananger instead of Windows Explorer (e.g. Total Commander).
Both programs are shareware, try before you buy.
I am aware of this registry hack, however, it does not work for me with Windows 7.

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System]
Set the value of
ConsentPromptBehaviorAdmin to zero 0
and Reboot.

P.S.: Of course there are free alternatives to Total Commander, it just so happens to be my file manager of choice."
Guest [Entry]

"Here is the code I used to solve the issue in AutoIT script. The only issue is that is keeps running and hogs some resources. Unless yall have a better idea to fix the script. :-)

While 1
if WinActive(""Rename"","""") Then
Send(""!y"")
EndIf
WEnd"
Guest [Entry]

"As we have files that when downloaded automatically has the date and time added as the extension. So I have been looking for a solution and found one.

Download a program called Free Commander. They have a portable version that can be installed on a USB thumb drive if needed.

This program allows you to select multiple files as in my case, and renames the extension without asking are you sure."