Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

In Windows XP, when copying/overwriting multiple files, you could press Alt + A to copy/replace all. XP

These keyboard shortcuts don't seem to be available in Windows 7. I have to press Alt + D then Tab, Tab, Tab, Space to get the same effect with the keyboard. Win7

Does anyone know of a keyboard shortcut to press the giant "buttons" on these dialogs?

share|improve this question
Possible duplicate -… – ChrisF Feb 4 '10 at 21:49
Yeah, its asking the same thing as my question, basically. And also without a satisfying response. – Tim Coker Feb 4 '10 at 21:54
An incredibly annoying aspect of Win7 GUI, indeed. In previous versions you could even press "A" to select "Yes", despite there being no "All" button. Why have that kind of forward thinking then scrap it all for Win7... – RJFalconer Feb 4 '10 at 22:01
"Progress" and "User Anxiety" not satisfying for you? However, there's a remedy: Total Commander! :) – Molly7244 Feb 4 '10 at 22:01
Unlike previous versions you can right-click the "Copy and Replace" and "Don't Copy" buttons in that dialog and actually perform tasks on the file, from that dialog. Not sure why you'd want do this, but isn't that 'progress'? Regardless, I'd guess it has something to do with why there's no direct accelerator keys for them though. ;) – Ƭᴇcʜιᴇ007 Feb 4 '10 at 22:15
up vote 5 down vote accepted

After thinking about it some more, I realized I could accomplish this with AutoHotkey.

Save the following into a script and run it with AutoHotkey. The key combination is Alt + A. It simulates pressing Alt + D, Tab, Tab, Tab, Space when a window titled "Copy File" is active.

NOTE: The IfWinActive function matches partial titles, so if you have this running and the title of the window has "Copy File" in the title, AutoHotkey will send the keys to that window as well.

;alt + a ... do replace all on select file dialog
#IfWinActive Copy File
    SendInput !d
    SendInput {Tab}
    SendInput {Tab}
    SendInput {Tab}
    SendInput {Space}
share|improve this answer
Great answer. I love AutoHotkey. Don't forget to close out the #IfWinActive section by placing #IfWinActive with no arguments on a line by itself after the return statement (assuming you have no other declarations to wrap in the conditional.) – Mike Clark Sep 19 '11 at 17:39

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .