Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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
1  
Possible duplicate - superuser.com/questions/101200/… –  ChrisF Feb 4 '10 at 21:49
1  
Yeah, its asking the same thing as my question, basically. And also without a satisfying response. –  Tim Coker Feb 4 '10 at 21:54
1  
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
2  
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
show 2 more comments

1 Answer 1

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
!a::
    SendInput !d
    SendInput {Tab}
    SendInput {Tab}
    SendInput {Tab}
    SendInput {Space}
    return
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
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.