{"id":442,"date":"2019-03-27T08:06:30","date_gmt":"2019-03-27T08:06:30","guid":{"rendered":"http:\/\/pictureecho.com\/blog\/?p=442"},"modified":"2025-11-24T10:42:44","modified_gmt":"2025-11-24T10:42:44","slug":"batch-remove-spaces-from-the-file-names-and-rename-or-set-new-names","status":"publish","type":"post","link":"https:\/\/pictureecho.com\/blog\/batch-remove-spaces-from-the-file-names-and-rename-or-set-new-names\/","title":{"rendered":"Batch Remove Spaces from the File Names and Rename or Set New Names"},"content":{"rendered":"<p><span style=\"font-weight: 400;\">Renaming hundreds of files can be a highly tedious and laborious task. It may take several hours or even days as the files might well run into hundreds of thousands, and scattered across different drives, folders &amp; subfolders.\u00a0<\/span><span style=\"font-weight: 400;\">If you wish to avoid going through each file one by one, there is a handy way to accomplish this task in an automated manner.<\/span><\/p>\n<p><!--more--><\/p>\n<p>Rename files to remove those ugly and bizarre-looking filenames. Give a meaningful look to your data by removing spaces in batches, and making even more name changes in a single go. Use <strong>Easy File Renamer<\/strong>\u00a0to rename files with ease, accuracy, and speed.<\/p>\n<p><iframe loading=\"lazy\" src=\"https:\/\/www.youtube.com\/embed\/IiURIkFrLpY\" width=\"560\" height=\"315\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/p>\n<p><b>Easy File Renamer<\/b><span style=\"font-weight: 400;\"> is a verified software | <\/span><a href=\"https:\/\/www.easyfilerenamer.com\/download\/ibx\/\" target=\"_blank\" rel=\"nofollow noopener noreferrer\"><b>Download it NOW<\/b><\/a><\/p>\n<p><span style=\"font-weight: 400;\">Compatible with <\/span><b>Windows 10<\/b><span style=\"font-weight: 400;\">, <\/span><b>8<\/b><span style=\"font-weight: 400;\"> &amp; <\/span><b>7<\/b><span style=\"font-weight: 400;\"> | View the <\/span><a href=\"https:\/\/www.easyfilerenamer.com\/terms-and-conditions.html\" target=\"_blank\" rel=\"noopener noreferrer\"><b>Terms<\/b><b> and Conditions<\/b><\/a><\/p>\n<p><span style=\"font-weight: 400;\">See Easy File Renamer <\/span><a href=\"https:\/\/easyfilerenamer.com\/blog\/\" target=\"_blank\" rel=\"noopener noreferrer\"><b>blog<\/b><\/a><span style=\"font-weight: 400;\"> for more details<\/span><\/p>\n<h2><b>Batch Rename Files Using File Explorer<\/b><\/h2>\n<p><span style=\"font-weight: 400;\">Although <\/span><b>Windows<\/b><span style=\"font-weight: 400;\"> does not contain any tool to bulk rename your files, it is still possible to accomplish this using the <\/span><b>File Explorer<\/b><span style=\"font-weight: 400;\">. However, please remember that this method will only be helpful if you want to remove spaces and rename files with the exact name.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Simply use the left mouse button + <\/span><b>Ctrl<\/b><span style=\"font-weight: 400;\"> key on the keyboard if you want to rename selected files. If you want to rename all the files, you can simply use the <\/span><b>Ctrl<\/b><span style=\"font-weight: 400;\"> + <\/span><b>A<\/b><span style=\"font-weight: 400;\"> combination to select all the files in that folder.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Now right-click on the highlighted area on any of the selected files and select <\/span><b>Rename<\/b><span style=\"font-weight: 400;\">. Type in the new name and hit <\/span><b>Enter<\/b><span style=\"font-weight: 400;\">. This will assign the new name as well as a number appended at the end of the new file name.<\/span><\/p>\n<h2><b>Bulk Rename Files with Different Name Structures<\/b><\/h2>\n<p><span style=\"font-weight: 400;\">Here we\u2019ll rename each file individually with different file name structures\/ patterns.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">However, you\u2019ll have to type each file name one by one in a given sequence and use different key combinations. So we don\u2019t really recommend this unless you\u2019re willing to put your time in it.<\/span><\/p>\n<ol>\n<li><span style=\"font-weight: 400;\">Open <\/span><b>File Explorer<\/b><span style=\"font-weight: 400;\"> and navigate to the folder that contains files that have to be renamed.<\/span><\/li>\n<li><span style=\"font-weight: 400;\">Click the <\/span><b>View <\/b><span style=\"font-weight: 400;\">tab on the <\/span><b>Ribbon<\/b> <span style=\"font-weight: 400;\">interface.<\/span><\/li>\n<li><span style=\"font-weight: 400;\">Click the <\/span><b>Sort by <\/b><span style=\"font-weight: 400;\">icon, and now select the <\/span><b>Ascending<\/b><span style=\"font-weight: 400;\"> option.<\/span><\/li>\n<li><span style=\"font-weight: 400;\">Click the <\/span><b>Group by <\/b><span style=\"font-weight: 400;\">icon and choose to group your files by <\/span><b>Name<\/b><span style=\"font-weight: 400;\">.<\/span><\/li>\n<li><span style=\"font-weight: 400;\">Your files will be now be rearranged in ascending order (name).<\/span><\/li>\n<li><span style=\"font-weight: 400;\">Select the first file on the top of the list.<\/span><\/li>\n<li><span style=\"font-weight: 400;\">Press the <\/span><b>F2 <\/b><span style=\"font-weight: 400;\">key on the keyboard and you will notice that the first file will be selected for renaming.<\/span><\/li>\n<li><span style=\"font-weight: 400;\">Specify a new name of your choice for the selected file.<\/span><\/li>\n<li><span style=\"font-weight: 400;\">Press the <\/span><b>Tab <\/b><span style=\"font-weight: 400;\">key to move on to the next file.<\/span><\/li>\n<li><span style=\"font-weight: 400;\">Write a name for your second file and press <\/span><b>Tab <\/b><span style=\"font-weight: 400;\">to jump to the new file in the sequence.<\/span><\/li>\n<li><span style=\"font-weight: 400;\">Repeat it over for all the remaining files.<\/span><\/li>\n<\/ol>\n<p><span style=\"text-decoration: underline;\"><b><i>Note:<\/i><\/b><\/span><span style=\"font-weight: 400;\"> This method is not helpful if you\u2019re out to rename files in a large number. If this is the case indeed, we suggest going for the automated solution method.<\/span><\/p>\n<p>\u00a0<\/p>\n<h2><b>Bulk Rename Files with Common Name Structure<\/b><\/h2>\n<p><span style=\"font-weight: 400;\">This method helps to rename files in bulk numbers with a common name structure in one go.<\/span><\/p>\n<ol>\n<li><span style=\"font-weight: 400;\">Open the\u00a0<\/span><b>File Explorer<\/b><span style=\"font-weight: 400;\">.<\/span><\/li>\n<li><span style=\"font-weight: 400;\">Now navigate to the folder that contains your files.<\/span><\/li>\n<li><span style=\"font-weight: 400;\">Press <\/span><b>Ctrl <\/b><span style=\"font-weight: 400;\">+ <\/span><b>A <\/b><span style=\"font-weight: 400;\">simultaneously to select all your files.<\/span><\/li>\n<li><span style=\"font-weight: 400;\">Press the <\/span><b>F2 <\/b><span style=\"font-weight: 400;\">key and enter a common name for all your selected files. For example <\/span><b>new_york<\/b><\/li>\n<li><span style=\"font-weight: 400;\">Press <\/span><b>Enter<\/b><span style=\"font-weight: 400;\">.<\/span><\/li>\n<li><span style=\"font-weight: 400;\">All your files will now be renamed in an identical pattern. For instance, <\/span><b>new_york(1).png<\/b><span style=\"font-weight: 400;\">,<\/span><b> new_york(2).png<\/b><span style=\"font-weight: 400;\">,<\/span><b> new_york(3).png<\/b><span style=\"font-weight: 400;\">.<\/span><\/li>\n<\/ol>\n<p>\u00a0<\/p>\n<h2><b>Batch Rename Files Using Command Prompt<\/b><\/h2>\n<p><b>Command Prompt <\/b><span style=\"font-weight: 400;\">is a powerful command-line interpreter in Windows. It can perform various file system and administrative operations while providing greater functionality, customization, and control to the user. It contains a dedicated terminal through which you can directly interact with the operating system using commands and text inputs.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Interestingly, you can also perform bulk file renaming operations with Command Prompt, provided you\u2019re equipped with the know-how of how commands are typed out as well as executed in it.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Here\u2019s how to rename multiple files with <\/span><b>CMD<\/b><span style=\"font-weight: 400;\">:<\/span><\/p>\n<ol>\n<li><span style=\"font-weight: 400;\">Close all other open programs that might be currently using the files you want to rename.<\/span><\/li>\n<li>Type\u00a0<b>CMD\u00a0<\/b>in the\u00a0<b>Search\u00a0<\/b>box of the taskbar and open\u00a0<b>Command Prompt\u00a0<\/b>from the\u00a0<b>Search Results<\/b>.<\/li>\n<li>In the newly opened window, enter the following command to locate the directory that contains your files:<br \/>\u00a0 \u00a0 \u00a0 (a) <b>Syntax: <\/b>cd &lt;directory name&gt;<br \/>\u00a0 \u00a0 \u00a0 (b) <b>Example: <\/b>cd C:\\Users\\(Your User Name)\\Desktop\\My Duplicate<br \/>\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 Files<\/li>\n<li>Use the following command to bulk rename your files in a common file name pattern:<br \/>\u00a0 \u00a0 \u00a0 \u00a0(a) <strong>Syntax<\/strong>: <br \/>Dir | %{Rename-Item $_ -NewName (\u201c<span style=\"color: #800000;\">your_file_name_here<\/span>{0}<span style=\"color: #800000;\">.extension<\/span>\u201d -f $nr++)}<br \/>\u00a0 \u00a0 \u00a0 \u00a0(b) <strong>Example<\/strong>:<br \/>Dir | %{Rename-Item $_ -NewName (\u201c<span style=\"color: #800000;\">new_york<\/span>{0}<span style=\"color: #800000;\">.png<\/span>\u201d -f $nr++)}<\/li>\n<li>Once you have executed the command mentioned above, Command Prompt will automatically rename all your files in the following pattern:<br \/>\u00a0 \u00a0 \u00a0 (a) <b>new_york0.jpg<\/b>,\u00a0<b>new_york1.jpg<\/b>,\u00a0<b>new_york2.jpg<\/b><\/li>\n<\/ol>\n<p>\u00a0<\/p>\n<h2><b>Batch Rename Files Using Easy File Renamer<\/b><\/h2>\n<p><span style=\"font-weight: 400;\">Sorcim\u2019s <\/span><b>Easy File Renamer <\/b><span style=\"font-weight: 400;\">is designed to batch rename thousands of files with just a few clicks. Renaming your files with Easy File Renamer has several advantages. You can safely and quickly rename multiple files without worrying about corrupting any file contents.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">This powerful utility simplifies the whole task with the use of advanced technology and smart algorithms.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Some of the prominent features of this utility are given below:<\/span><\/p>\n<ul>\n<li><b>Graphical User Interface: <\/b><span style=\"font-weight: 400;\">You don\u2019t have to worry about complicated command-line instructions. Use the pretty simple, easy to use <\/span><b>GUI<\/b><span style=\"font-weight: 400;\"> to bulk rename your files in seconds.<\/span><\/li>\n<li><b>Intelligent file renaming rules: <\/b><span style=\"font-weight: 400;\">Choose a renaming criterion of your choice among the ten renaming templates.<\/span><\/li>\n<li><b>Rename Files\/ Folders: <\/b><span style=\"font-weight: 400;\">Supports batch renaming of files as well as directories.<\/span><\/li>\n<li><b>Cloud Integration: <\/b><span style=\"font-weight: 400;\">If your files are stored on <\/span><b>Google Drive<\/b><span style=\"font-weight: 400;\">, you don\u2019t have to separately download them to your PC. With it&#8217;s Google Drive integration, <\/span><b>EFR<\/b><span style=\"font-weight: 400;\"> supports batch renaming of cloud files.<\/span><\/li>\n<li><b>Modify Music Tags: <\/b><span style=\"font-weight: 400;\">Easily bulk rename music files based on music tags. Use the <\/span><b>Bulk Tag Editor<\/b><span style=\"font-weight: 400;\"> to bulk edit music file tags to insert copyright disclaimer, author information, and other relevant data.<\/span><\/li>\n<li><b>iTunes Integration: <\/b><span style=\"font-weight: 400;\">Supports bulk renaming the <\/span><b>iTunes<\/b><span style=\"font-weight: 400;\"> music collection with zero chance of corrupting your playlist.<\/span><\/li>\n<li><b>Faster File Copying: <\/b><span style=\"font-weight: 400;\">Includes an in-house functionality to copy tens of thousands of files with zero chance of errors. Select a destination and the files you want to copy, EFR will swiftly accomplish the task.<\/span><\/li>\n<li><b>Faster File Moving: <\/b><span style=\"font-weight: 400;\">Manually moving files can be a very testing task. EFR comes with a Bulk Mover that moves your files with just a few clicks.<\/span><\/li>\n<\/ul>\n<ul>\n<li style=\"font-weight: 400;\"><b>Universal Compatibility: <\/b><span style=\"font-weight: 400;\">Supports Unicode file characters and <\/span><b>FAT<\/b><span style=\"font-weight: 400;\">\/ <\/span><b>FAT32<\/b><span style=\"font-weight: 400;\">\/ <\/span><b>NTFS<\/b><span style=\"font-weight: 400;\"> drive systems<\/span><\/li>\n<\/ul>\n<p>\u00a0<\/p>\n<p><span style=\"font-weight: 400;\">Here is what you need to do to rename files by removing spaces from their files names.<\/span><\/p>\n<ol>\n<li><span style=\"font-weight: 400;\">Download <\/span><b>Easy File Renamer <\/b><span style=\"font-weight: 400;\">from the official site.<\/span><\/li>\n<li><span style=\"font-weight: 400;\">Install the program on your PC and run it using its desktop shortcut.<\/span><\/li>\n<li><span style=\"font-weight: 400;\">Click the <\/span><b>System Renamer <\/b><span style=\"font-weight: 400;\">tab.<\/span><\/li>\n<li><span style=\"font-weight: 400;\">Click on <\/span><b>Folders<\/b><span style=\"font-weight: 400;\">, followed by <\/span><b>Add Folders<\/b><span style=\"font-weight: 400;\">.<\/span><\/li>\n<li><span style=\"font-weight: 400;\">Browse the directory that contains files that you want to rename.<\/span><\/li>\n<li><span style=\"font-weight: 400;\">Click the <b>Add Folder<\/b> button.<\/span><\/li>\n<li><span style=\"font-weight: 400;\">Select the remaining criteria from the <\/span><b>Select the Rule <\/b><span style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">drop-down box on the left-hand side panel of your screen.<br \/><span style=\"text-decoration: underline;\">For example:<\/span><br \/>(a)\u00a0To batch remove spaces from your file names, use the <b>Remove Text <\/b>option. Enter a single space in the <b>Text <\/b>field. Select the <b>Remove All <\/b>option, and then click <b>Add Rule<\/b>.<br \/><\/span><\/span>\n<figure id=\"attachment_751\" class=\"thumbnail wp-caption alignnone\" style=\"width: 310px\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-751\" src=\"http:\/\/pictureecho.com\/blog\/wp-content\/uploads\/2019\/03\/12-300x202.jpg\" alt=\"\" width=\"300\" height=\"202\" srcset=\"https:\/\/pictureecho.com\/blog\/wp-content\/uploads\/2019\/03\/12-300x202.jpg 300w, https:\/\/pictureecho.com\/blog\/wp-content\/uploads\/2019\/03\/12-80x54.jpg 80w, https:\/\/pictureecho.com\/blog\/wp-content\/uploads\/2019\/03\/12.jpg 556w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><figcaption class=\"caption wp-caption-text\"><strong>Removing spaces from the filename<\/strong><\/figcaption><\/figure>\n<p><span style=\"font-weight: 400;\"><br \/><\/span>(b)\u00a0<span style=\"font-weight: 400;\">To replace spaces in your file names with an underscore ( <\/span><b>_ <\/b><span style=\"font-weight: 400;\">) or any other character, select the <\/span><b>Replace Text <\/b><span style=\"font-weight: 400;\">option. Enter a blank space in the <\/span><b>Find <\/b><span style=\"font-weight: 400;\">box, and an underscore ( <\/span><b>_<\/b><span style=\"font-weight: 400;\"> ) in the <\/span><b>Replace <\/b><span style=\"font-weight: 400;\">text box. Select the <\/span><b>Replace All <\/b><span style=\"font-weight: 400;\">option, followed by <\/span><b>Add Rule<\/b><span style=\"font-weight: 400;\">.<\/span><\/p>\n<\/li>\n<li><span style=\"font-weight: 400;\">Finally, click the green-colored <\/span><b>Rename <\/b><span style=\"font-weight: 400;\">button to bulk rename your files in seconds.<\/span><\/li>\n<\/ol>\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Renaming hundreds of files can be a highly tedious and laborious task. It may take several hours or even days as the files might well run into hundreds of thousands, and scattered across different drives, folders &amp; subfolders.\u00a0If you wish to avoid going through each file one by one, there is a handy way to [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[3],"tags":[284,290,291,289,282,283,285,288,286,287],"class_list":["post-442","post","type-post","status-publish","format-standard","hentry","category-solutions","tag-bulk-renaming-of-files-easily","tag-erase-spaces-from-filenames","tag-get-rid-of-spaces-from-filenames-easily","tag-remove-spaces-from-filenames-in-bulk","tag-rename-files-in-big-numbers","tag-rename-files-in-bulk","tag-rename-files-in-bulk-with-ease","tag-set-bulk-filenames-quickly","tag-set-new-filenames-easily","tag-set-new-filenames-in-seconds"],"aioseo_notices":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/pictureecho.com\/blog\/wp-json\/wp\/v2\/posts\/442","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pictureecho.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pictureecho.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pictureecho.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/pictureecho.com\/blog\/wp-json\/wp\/v2\/comments?post=442"}],"version-history":[{"count":14,"href":"https:\/\/pictureecho.com\/blog\/wp-json\/wp\/v2\/posts\/442\/revisions"}],"predecessor-version":[{"id":756,"href":"https:\/\/pictureecho.com\/blog\/wp-json\/wp\/v2\/posts\/442\/revisions\/756"}],"wp:attachment":[{"href":"https:\/\/pictureecho.com\/blog\/wp-json\/wp\/v2\/media?parent=442"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pictureecho.com\/blog\/wp-json\/wp\/v2\/categories?post=442"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pictureecho.com\/blog\/wp-json\/wp\/v2\/tags?post=442"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}