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
pstein

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?

Peter


My System SpecsSystem Spec
.
25 Jul 2015   #2
UsernameIssues

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:
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 System SpecsSystem Spec
Reply

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




Thread Tools Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
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
Shortcut knows new location of target file - is this a new feature?
Actually it's on Server 2008R but it has the same underlying code as W7. I'm embarrased :o It's probably been there forever. I have never noticed before that when a 'Target:' of a shortcut is moved the shortcut knows about the new location. Is this a new feature OR...
General Discussion
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
Windows could not apply the unattend answer file's
I am getting this error when I am install Windows 7: Windows could not format a partition on disk 0 - error code 0x80004005 during a new install of Windows 7. I have tried both Home Premium x64 and Enterprise x64. Both falling into the same error: I've removed all partition using gparted,...
Installation & Setup


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 02:08.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App