Swap the names of two files or folders

Status
Not open for further replies.

Exterminator

Community Manager
Thread author
Verified
Staff Member
Well-known
Oct 23, 2012
12,527
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

swapfilenames.jpg


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.

Source
 

McLovin

Level 76
Verified
Honorary Member
Malware Hunter
Apr 17, 2011
9,224
Nice tool. No idea what I would really use it for but sure will come in handy. :)
 
Status
Not open for further replies.

About us

  • MalwareTips is a community-driven platform providing the latest information and resources on malware and cyber threats. Our team of experienced professionals and passionate volunteers work to keep the internet safe and secure. We provide accurate, up-to-date information and strive to build a strong and supportive community dedicated to cybersecurity.

User Menu

Follow us

Follow us on Facebook or Twitter to know first about the latest cybersecurity incidents and malware threats.

Top