You can't create two files or folders with the same name and file extension in Windows in the same directory. If you need to rename a folder or file in a folder to a name that is already reserved by another file or folder, you are in for a lengthy name changing operation. You first rename the original file or folder, before you can rename the new file or folder so that it is now named like the original file. If you have to run the command quite often, you may be inclined to write a small batch file to automate it to speed it up.
Swap'em is a portable program for Windows that handles the file or folder name swapping for you. You can either use the interface for that, or integrate the functionality in Windows Explorer.
If you like to use the interface, simply drag and drop the files or folders that you want to swap into it to do so. Swap'em supports swapping file names, folder names, and file names with folder names. The original file and folder icons are displayed by the application in the program interface.
The program displays a successful name swap operation immediately after the second file or folder has been dropped into the interface. You will notice then that names have been swapped on the hard drive.
Please note that the application ships with a 32-bit and 64-bit version and that the latest 64-bit version seems broken as files or folders that you drop are not listed in the program window. The 32-bit version of the program on the other hand works just fine and without issues.
You can change the mode from swapping file or folder names to swapping file contents instead. To do that, simply click on Options and then on Mode > File Swap to do so.
Other options include adding the program to Windows Explorer to send files or folders to it this way, integrating it into the send to menu, and changing the interface language.
What would you use a program like this for? You can for instance iterate between a file for today and yesterday, use it to replace system files with patches versions, or simply hide contents of a file by replacing it with another. Swap'em is compatible with all Windows versions from Windows XP on.Advertisement
Advertising revenue is falling fast across the Internet, and independently-run sites like Ghacks are hit hardest by it. The advertising model in its current form is coming to an end, and we have to find other ways to continue operating this site.
We are committed to keeping our content free and independent, which means no paywalls, no sponsored posts, no annoying ad formats or subscription fees.
If you like our content, and would like to help, please consider making a contribution:
Ghacks is a technology news blog that was founded in 2005 by Martin Brinkmann. It has since then become one of the most popular tech news sites on the Internet with five authors and regular contributions from freelance writers.