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

pstein

New member
Member
VIP
Local time
4:35 AM
Messages
244
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 My Computer

At a glance

win7pro 64bit
Computer type
PC/Desktop
OS
win7pro 64bit
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 My Computer

At a glance

W7 Pro SP1 64biti78GBIntel HD Graphics
Computer type
Laptop
Computer Manufacturer/Model Number
Employer provided Dell Latitude
OS
W7 Pro SP1 64bit
CPU
i7
Memory
8GB
Graphics Card(s)
Intel HD Graphics
Hard Drives
crappy SSD
Antivirus
Employer mandated Symantec Endpoint Protection
Browser
Pale Moon 64bit, IE11 64bit & Chrome 64bit
Back
Top