Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.

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

25 Jul 2015   #1

win7pro 64bit
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?


My System SpecsSystem Spec
25 Jul 2015   #2

W7 Pro SP1 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:
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.)
Opt("WinTitleMatchMode", 2)

While 1
    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", "")
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 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 System SpecsSystem Spec

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

Thread Tools

Similar help and support threads
Thread Forum
batch del files in subfolders only certain file exist
Hi all, I just want a batch file to delete all files with extension *.P3? in all subfolders on condition only some file exist in these subfolders like *.pkg file C:\test\abc\*.P3A, *.pkg C:\test\def\*.P3L C:\test\ghi\*.P3P, *.pkg So the script should only delete *.P3A in abc folder and...
General Discussion
Try to open a file - error: "file does not exist" when it DOES exist
I stored some files on my D drive which is an external hard drive ... Lately I have had this happen a number of times with totally unrelated files in different places on the D drive. I try to open them (in Excel, but I don't think that matters) and I get an errors saying the file does not...
General Discussion
May I please apply my .Theme file from XP to Win7?
Since having to replace my XP tower with a Win7pro one, I've been trying to apply the .Theme file from my old hard drive to no avail. I get the message I can't apply it to my Windows 7 desktop, and can neither find a way to check its settings. After pasting it into the Windows/Resources/Themes...
Themes and Styles
Command Line Prompt - How To Export List of Files to Text File
Hi guys, I have a folder with 995 files in it and I'd like to give someone a text file with a list of all these files in it. Is there a way that I can get the command line to send the names of these files to a text file? I tried navigating to the directory and using the DIR command and,...
General Discussion
Win7 file search returns no files (but they exist)
Greetings - Running Win7 (6.1, SP1, 64-bit). Previously, I was using WinXP file search in classic mode. Predictable, reliable results. I'm finding Win7 file searching to be unpredictable at best. I have dozens files of the form xName-<date>, where x is my first initial, Name is my...
Performance & Maintenance

Our Sites

Site Links

About Us

Find 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 14:17.
Twitter Facebook Google+