Auto-Apply prompt rule to ALL files when target file already exist?


  1. Posts : 244
    win7pro 64bit
       #1

    Auto-Apply prompt rule to ALL files when target file already exist?


    I sometimes copy/move multiple files + folders within WinExplorer by Drag&Drop to another folder
    where these files & folder already exist (as an older version with the same name).

    Then always a popup prompt appears aksing me if I want to
    - replace the old existing files
    - cancel the operation
    - rename the new files/folders

    More annoying is this little checkbox at the lower left corner which needs to be ticked when I want to apply this rule to all current file+folder operations.

    How can I ALWAYS automatically let the checkbox be enabled BY DEFAULT for all future operations?

    Peter
      My Computer


  2. Posts : 10,485
    W7 Pro SP1 64bit
       #2

    Is this what you want?


    (Right-click drag/drop operations as shown in that video.)

    I do not think that there are any settings within Windows 7 that will check those boxes by default.

    You can install AutoIt3 from here:
    https://www.autoitscript.com/site/autoit/downloads/
    Right click on the desktop and select New > AutoIt v3 Script from the context menu.
    (You might need to select the desktop and press F5 to get that context menu.)
    Then right click on the newly created file and select Edit Script from the context menu.

    Copy/paste the info below into the newly created file:
    (You can paste over the info that is already in the new file.)
    Code:
    Opt("WinTitleMatchMode", 2)
    
    While 1
        Sleep(50)
        If WinExists("Confirm Folder Replace", "This destination already contains a folder named") Then ControlCommand("Confirm Folder Replace", "This destination already contains a folder named", "Button4", "Check", "")
        If WinExists("Move File", "Do this for") Or WinExists("Copy File", "Do this for") Then ControlCommand("File", "Do this for", "Button1", "Check", "")
    WEnd
    Save that file.
    Move it to the Startup folder.
    Right click on the file and select Run Script from the context menu.

    You can end the script by clicking on the AutoIt icon in the notification area down by the clock.

    If you would rather not have an AutoIt icon in the notification area, add this line...
    #NoTrayIcon
    ...as the first line of the script.
    If you do that, then you can kill the script (if need be) via Task Manager.
    Kill the process named AutoIt3.exe.
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 18:06.
Find Us