{"id":6526,"date":"2023-06-12T07:49:00","date_gmt":"2023-06-12T05:49:00","guid":{"rendered":"https:\/\/expert-only.com\/?p=6526"},"modified":"2023-09-22T16:55:56","modified_gmt":"2023-09-22T14:55:56","slug":"rename-multiple-windows-files","status":"publish","type":"post","link":"https:\/\/expert-only.com\/en\/ms-dos\/rename-multiple-windows-files\/","title":{"rendered":"How to batch rename multiple files with Windows cmd?"},"content":{"rendered":"\n<h4 class=\"wp-block-heading\" id=\"h-batch-rename-multiple-files-using-the-windows-10-command-line\"><strong><em>Batch rename multiple files using the Windows 10 command line.<\/em><\/strong><\/h4>\n\n\n\n<p>One common task for users on Windows 10 is figuring out how to batch rename multiple files with cmd in Windows 10. Often, the need arises to rename multiple files using batch script instead of manual methods, which can be tedious and time-consuming.<\/p>\n\n\n\n<p>How to rename multiple files with Windows cmd at the same time? One solution is to use third party software like bulk rename utility, or the F2 option in the GUI, but the latter is not as flexible as scripting. However, it is simple and effective to use a cmd request. Here are different command line options to rename a series of several files in batch and in a very fast way. Indeed, these commands make it easy to rename multiple files at once with different names or patterns.<\/p>\n\n\n\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_82_2 ez-toc-wrap-center counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/expert-only.com\/en\/ms-dos\/rename-multiple-windows-files\/#before-renaming-the-files\" >Before renaming the files<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/expert-only.com\/en\/ms-dos\/rename-multiple-windows-files\/#1-batch-rename-windows-10-files-with-cmd\" >1. Batch rename Windows 10 files with cmd<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/expert-only.com\/en\/ms-dos\/rename-multiple-windows-files\/#2-batch-rename-or-remove-the-prefix-of-several-files\" >2. Batch rename or remove the prefix of several files<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/expert-only.com\/en\/ms-dos\/rename-multiple-windows-files\/#3-delete-or-rename-the-suffix-of-multiple-files\" >3. Delete or rename the suffix of multiple files<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/expert-only.com\/en\/ms-dos\/rename-multiple-windows-files\/#4-rename-files-in-batch-to-remove-parenthesis\" >4. Rename files in batch to remove parenthesis<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/expert-only.com\/en\/ms-dos\/rename-multiple-windows-files\/#5-rename-the-extension-of-several-text-or-pdf-files\" >5. Rename the extension of several text or PDF files<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/expert-only.com\/en\/ms-dos\/rename-multiple-windows-files\/#6-rename-thousands-of-excel-files-quickly\" >6. Rename thousands of Excel files quickly<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/expert-only.com\/en\/ms-dos\/rename-multiple-windows-files\/#7-batch-rename-several-image-files\" >7. Batch rename several image files<\/a><\/li><\/ul><\/nav><\/div>\n<h2 class=\"wp-block-heading\" id=\"h-before-renaming-the-files\"><span class=\"ez-toc-section\" id=\"before-renaming-the-files\"><\/span>Before renaming the files<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Before diving into the specific methods, it&#8217;s essential to understand some basics. For those who are curious about how to create a batch script to rename files in a folder, here are two crucial steps:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Open the Windows command window<\/li>\n\n\n\n<li><a href=\"https:\/\/expert-only.com\/en\/ms-dos\/change-current-directory-with-cmd\/\">Go to the working directory with the cd command<\/a>. Or use the full path of the folder that contains the files to be renamed.<\/li>\n<\/ol>\n\n\n\n<p>For example, if the files to rename are in the folder C:\\Folder\\SubFolder then use the command below. The double quotes are used to handle folder names with spaces.<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"bat\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">cd \"C:\\Folder\\SubFolder\"<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-1-batch-rename-windows-10-files-with-cmd\"><span class=\"ez-toc-section\" id=\"1-batch-rename-windows-10-files-with-cmd\"><\/span>1. Batch rename Windows 10 files with cmd<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>To rename a large number of files with Windows, simply use the DOS <strong>rename<\/strong> command with the * option which allows you to designate all files with a filter. This powerful command can be employed in a batch script rename files sequentially or based on certain patterns. For example, to rename all Word or docx files starting with chapter1* to chapter2*, use this command:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"bat\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">rename chapter1*.docx chapter2*.docx<\/pre>\n\n\n\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-2-batch-rename-or-remove-the-prefix-of-several-files\"><span class=\"ez-toc-section\" id=\"2-batch-rename-or-remove-the-prefix-of-several-files\"><\/span>2. Batch rename or remove the prefix of several files<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>To rename the prefix of several files, indicate the new prefix or add as many \/ characters as there are characters to be removed. To illustrate a common use case, we have multiple text files with a prefix to replace by a shorter prefix. The goal is to replace <strong>prefix<\/strong> by <strong>new<\/strong><\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"560\" height=\"360\" src=\"https:\/\/expert-only.com\/wp-content\/uploads\/2022\/03\/cmd-rename-multiple-files-prefix-before.jpg\" alt=\"Text files with prefix to replace using cmd in Windows 10 - before\" class=\"wp-image-26521\" srcset=\"https:\/\/expert-only.com\/wp-content\/uploads\/2022\/03\/cmd-rename-multiple-files-prefix-before.jpg 560w, https:\/\/expert-only.com\/wp-content\/uploads\/2022\/03\/cmd-rename-multiple-files-prefix-before-300x193.jpg 300w\" sizes=\"auto, (max-width: 560px) 100vw, 560px\" \/><figcaption class=\"wp-element-caption\"><em>Text files with prefix to replace using cmd in Windows 10 &#8211; before<\/em><\/figcaption><\/figure><\/div>\n\n\n<p>This example cmd script renames the prefix &#8220;prefix&#8221; to &#8220;new&#8221;:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"bat\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">rename \"prefix_*.txt\" \"\/\/\/new_*.txt\"<\/pre>\n\n\n\n<p><\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"560\" height=\"600\" src=\"https:\/\/expert-only.com\/wp-content\/uploads\/2022\/03\/cmd-rename-multiple-files-prefix-after-rename.jpg\" alt=\"CMD script to replace a prefix by a shorter one in Windows 10\" class=\"wp-image-26525\" srcset=\"https:\/\/expert-only.com\/wp-content\/uploads\/2022\/03\/cmd-rename-multiple-files-prefix-after-rename.jpg 560w, https:\/\/expert-only.com\/wp-content\/uploads\/2022\/03\/cmd-rename-multiple-files-prefix-after-rename-280x300.jpg 280w\" sizes=\"auto, (max-width: 560px) 100vw, 560px\" \/><figcaption class=\"wp-element-caption\"><em>CMD script to replace a prefix by a shorter one in Windows 10<\/em><\/figcaption><\/figure><\/div>\n\n\n<p>This other command below removes the prefix from all files, however, note that it is not generic and you need to use exactly the right number of backslash in the script. For example to delete the <strong>pre_<\/strong> prefix with 4 letters, use this formula : <strong>\/\/\/\/<\/strong><\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"bat\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">rename \"prefix_*.txt\" \"\/\/\/\/\/\/\/*.txt\"\n\nrename \"pre_*.txt\" \"\/\/\/\/*.txt\"\n<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-3-delete-or-rename-the-suffix-of-multiple-files\"><span class=\"ez-toc-section\" id=\"3-delete-or-rename-the-suffix-of-multiple-files\"><\/span>3. Delete or rename the suffix of multiple files<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>To rename the suffix of several files, the method is similar to the one used for the prefixes. As before, indicate the prefix and add as many &#8220;\/&#8221; characters as there are letters to delete:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"bat\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">rename \"*_suffix.txt\" \"*\/\/\/\/\/\/\/.txt\"\n\nrename \"*_copy.txt\" \"*\/\/\/\/\/.txt\"\n<\/pre>\n\n\n\n<p>To rename the suffix with a new string.<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"bat\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">rename \"*suffix1.txt\" \"*suffix2.txt\"<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-4-rename-files-in-batch-to-remove-parenthesis\"><span class=\"ez-toc-section\" id=\"4-rename-files-in-batch-to-remove-parenthesis\"><\/span>4. Rename files in batch to remove parenthesis<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Sometime you need to rename multiple files with Windows command prompt to remove a specific character. Indeed it is convenient to remove an unwanted part of the filename, like the parenthesis. For example after using the F2 option to rename several files with Windows Explorer. Or after making copies with the Windows copy and paste shortcut for example. Windows adds at the end of the files :<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>file.txt<\/li>\n\n\n\n<li>file Copy.txt<\/li>\n\n\n\n<li>file Copy (2).txt<\/li>\n\n\n\n<li>file Copy (3).txt<\/li>\n\n\n\n<li>file Copy (4).txt<\/li>\n\n\n\n<li>etc.<\/li>\n<\/ul>\n\n\n\n<p>As this command is on multiple lines, it should be saved in a text file and renamed to .bat, like <strong>parentheses.bat<\/strong> for example.<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"bat\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">cd C:\\Folder\\SubFolder_1\nsetlocal enabledelayedexpansion\nfor %%i in (*.txt) do ( \n   set f=%%i \n   set f=!f:^(=!\n   set f=!f:^)=!\n   ren \"%%i\" \"!f!\"\n)\n<\/pre>\n\n\n\n<p>Then execute it with a <strong>Right-Click<\/strong> and then &#8220;<strong>Run as administrator<\/strong>&#8220;. Thanks to <a href=\"https:\/\/www.youtube.com\/channel\/UC0eq-PmOQx1AteUAm68rgSA\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">Tips Box channel<\/a> for the original solution. The result will be :<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>file Copy 2.txt<\/li>\n\n\n\n<li>file Copy 3.txt<\/li>\n\n\n\n<li>file Copy 4.txt<\/li>\n\n\n\n<li>etc.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-5-rename-the-extension-of-several-text-or-pdf-files\"><span class=\"ez-toc-section\" id=\"5-rename-the-extension-of-several-text-or-pdf-files\"><\/span>5. Rename the extension of several text or PDF files<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>To rename the file extension only and not the full file name, use this command.<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"bat\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">rename *.text *.txt<\/pre>\n\n\n\n<p><\/p>\n\n\n\n<p>Often, there&#8217;s a need to <strong>rename multiple pdf files at once with different names<\/strong> or extensions. To tackle this, use the following command:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"bat\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">rename *.* *.pdf<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-6-rename-thousands-of-excel-files-quickly\"><span class=\"ez-toc-section\" id=\"6-rename-thousands-of-excel-files-quickly\"><\/span>6. Rename thousands of Excel files quickly<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Moreover, the main advantage of renaming files in series is the speed. For example, to rename several files, like tens of thousands of images, use this batch and adapt it. In this scenario, it renames <a href=\"https:\/\/expert-only.com\/en\/python\/import-excel-into-sql-server-with-python\/\">Excel files<\/a> to remove a part of the name.<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"bat\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">rename *_accounting_files_2020.xlsx *_2020_*.xlsx<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-7-batch-rename-several-image-files\"><span class=\"ez-toc-section\" id=\"7-batch-rename-several-image-files\"><\/span>7. Batch rename several image files<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>For images like JPG or PNG, it&#8217;s similar to other file extensions. It is only the extension filter that changes in the script. For example, how to rename files with the extension .JPG to .JPEG ?<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"bat\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">rename *.jpg to *.jpeg<\/pre>\n\n\n\n<p>As you can see the rename, or ren, command has a wide variety of usage and it is very powerful compared to manually renaming dozens of files. Check out also <a href=\"https:\/\/expert-only.com\/en\/ms-dos\/copy-files-recursively-with-cmd\/\">how to copy recursively multiple files with a batch<\/a>. <a href=\"https:\/\/www.thefreedictionary.com\/Recursivity\" target=\"_blank\" rel=\"noreferrer noopener\">Recursivity<\/a> is very powerful concept widely used in IT and scripting.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Conclusion on batch rename files in Windows 10<\/h3>\n\n\n\n<p>In conclusion, the Windows command prompt provides a powerful and efficient way to rename multiple files with Windows cmd tools without any third-party software. Through the use of various rename command options, you can easily change prefixes, suffixes, remove unwanted characters, and even rename file extensions.<\/p>\n\n\n\n<p>This tutorial has covered several examples that can be adapted to your needs, making it a valuable resource for anyone looking to manage their files more effectively. Remember to always navigate to the appropriate directory before executing any commands, and practice caution when making changes to your files. With these tools at your disposal, you can streamline your file management and save time and effort in the process.<\/p>\n\n\n\n<figure class=\"wp-block-embed aligncenter is-type-wp-embed is-provider-sql-and-it-tutorials wp-block-embed-sql-and-it-tutorials\"><div class=\"wp-block-embed__wrapper\">\n<blockquote class=\"wp-embedded-content\" data-secret=\"iH7WEuhYJh\"><a href=\"https:\/\/expert-only.com\/en\/ms-dos\/copy-files-recursively-with-cmd\/\">How to copy files recursively using Windows cmd?<\/a><\/blockquote><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; clip: rect(1px, 1px, 1px, 1px);\" title=\"&#8220;How to copy files recursively using Windows cmd?&#8221; &#8212; SQL and IT Tutorials\" src=\"https:\/\/expert-only.com\/en\/ms-dos\/copy-files-recursively-with-cmd\/embed\/#?secret=rvg7P5zutg#?secret=iH7WEuhYJh\" data-secret=\"iH7WEuhYJh\" width=\"500\" height=\"282\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe>\n<\/div><\/figure>\n","protected":false},"excerpt":{"rendered":"<div class=\"mh-excerpt\"><p>Batch rename multiple files using the Windows 10 command line. One common task for users on Windows 10 is figuring out how to batch rename multiple files with cmd in Windows 10. Often, the need arises to rename multiple <a class=\"mh-excerpt-more\" href=\"https:\/\/expert-only.com\/en\/ms-dos\/rename-multiple-windows-files\/\" title=\"How to batch rename multiple files with Windows cmd?\">&#8230;<\/a><\/p>\n<\/div>","protected":false},"author":1,"featured_media":6520,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[410],"tags":[],"class_list":{"0":"post-6526","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-ms-dos"},"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v21.7 (Yoast SEO v26.2) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to rename multiple files with Windows cmd? MS-DOS<\/title>\n<meta name=\"description\" content=\"How to rename multiple files with Windows cmd ? Use and adapt these practical scripts to batch rename file names and extensions.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/expert-only.com\/en\/ms-dos\/rename-multiple-windows-files\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to batch rename multiple files with Windows cmd?\" \/>\n<meta property=\"og:description\" content=\"How to rename multiple files with Windows cmd ? Use and adapt these practical scripts to batch rename file names and extensions.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/expert-only.com\/en\/ms-dos\/rename-multiple-windows-files\/\" \/>\n<meta property=\"og:site_name\" content=\"SQL and IT Tutorials\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/ExpertOnlyCom\/\" \/>\n<meta property=\"article:published_time\" content=\"2023-06-12T05:49:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-09-22T14:55:56+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/expert-only.com\/wp-content\/uploads\/2022\/04\/code-1839406_1920.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1920\" \/>\n\t<meta property=\"og:image:height\" content=\"1080\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Expert-Only\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@expert_only\" \/>\n<meta name=\"twitter:site\" content=\"@expert_only\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Expert-Only\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/expert-only.com\/en\/ms-dos\/rename-multiple-windows-files\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/expert-only.com\/en\/ms-dos\/rename-multiple-windows-files\/\"},\"author\":{\"name\":\"Expert-Only\",\"@id\":\"https:\/\/expert-only.com\/en\/#\/schema\/person\/406a9576b52944f018739a42046873ef\"},\"headline\":\"How to batch rename multiple files with Windows cmd?\",\"datePublished\":\"2023-06-12T05:49:00+00:00\",\"dateModified\":\"2023-09-22T14:55:56+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/expert-only.com\/en\/ms-dos\/rename-multiple-windows-files\/\"},\"wordCount\":965,\"publisher\":{\"@id\":\"https:\/\/expert-only.com\/en\/#organization\"},\"image\":{\"@id\":\"https:\/\/expert-only.com\/en\/ms-dos\/rename-multiple-windows-files\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/expert-only.com\/wp-content\/uploads\/2022\/04\/code-1839406_1920.jpg\",\"articleSection\":[\"MS-DOS\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/expert-only.com\/en\/ms-dos\/rename-multiple-windows-files\/\",\"url\":\"https:\/\/expert-only.com\/en\/ms-dos\/rename-multiple-windows-files\/\",\"name\":\"How to rename multiple files with Windows cmd? MS-DOS\",\"isPartOf\":{\"@id\":\"https:\/\/expert-only.com\/en\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/expert-only.com\/en\/ms-dos\/rename-multiple-windows-files\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/expert-only.com\/en\/ms-dos\/rename-multiple-windows-files\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/expert-only.com\/wp-content\/uploads\/2022\/04\/code-1839406_1920.jpg\",\"datePublished\":\"2023-06-12T05:49:00+00:00\",\"dateModified\":\"2023-09-22T14:55:56+00:00\",\"description\":\"How to rename multiple files with Windows cmd ? Use and adapt these practical scripts to batch rename file names and extensions.\",\"breadcrumb\":{\"@id\":\"https:\/\/expert-only.com\/en\/ms-dos\/rename-multiple-windows-files\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/expert-only.com\/en\/ms-dos\/rename-multiple-windows-files\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/expert-only.com\/en\/ms-dos\/rename-multiple-windows-files\/#primaryimage\",\"url\":\"https:\/\/expert-only.com\/wp-content\/uploads\/2022\/04\/code-1839406_1920.jpg\",\"contentUrl\":\"https:\/\/expert-only.com\/wp-content\/uploads\/2022\/04\/code-1839406_1920.jpg\",\"width\":1920,\"height\":1080},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/expert-only.com\/en\/ms-dos\/rename-multiple-windows-files\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"en\",\"item\":\"https:\/\/expert-only.com\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to batch rename multiple files with Windows cmd?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/expert-only.com\/en\/#website\",\"url\":\"https:\/\/expert-only.com\/en\/\",\"name\":\"SQL and IT Tutorials\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/expert-only.com\/en\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/expert-only.com\/en\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/expert-only.com\/en\/#organization\",\"name\":\"Expert-Only\",\"url\":\"https:\/\/expert-only.com\/en\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/expert-only.com\/en\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/expert-only.com\/wp-content\/uploads\/2017\/09\/cropped-logo_Expert-Only.jpg\",\"contentUrl\":\"https:\/\/expert-only.com\/wp-content\/uploads\/2017\/09\/cropped-logo_Expert-Only.jpg\",\"width\":381,\"height\":174,\"caption\":\"Expert-Only\"},\"image\":{\"@id\":\"https:\/\/expert-only.com\/en\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/ExpertOnlyCom\/\",\"https:\/\/x.com\/expert_only\",\"https:\/\/www.youtube.com\/channel\/UCMS5sR_FwAetB0FmciNvUaA\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/expert-only.com\/en\/#\/schema\/person\/406a9576b52944f018739a42046873ef\",\"name\":\"Expert-Only\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/expert-only.com\/en\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/084b15660763ff5b13bb60b2f52f97bb?s=96&d=identicon&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/084b15660763ff5b13bb60b2f52f97bb?s=96&d=identicon&r=g\",\"caption\":\"Expert-Only\"}}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"How to rename multiple files with Windows cmd? MS-DOS","description":"How to rename multiple files with Windows cmd ? Use and adapt these practical scripts to batch rename file names and extensions.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/expert-only.com\/en\/ms-dos\/rename-multiple-windows-files\/","og_locale":"en_US","og_type":"article","og_title":"How to batch rename multiple files with Windows cmd?","og_description":"How to rename multiple files with Windows cmd ? Use and adapt these practical scripts to batch rename file names and extensions.","og_url":"https:\/\/expert-only.com\/en\/ms-dos\/rename-multiple-windows-files\/","og_site_name":"SQL and IT Tutorials","article_publisher":"https:\/\/www.facebook.com\/ExpertOnlyCom\/","article_published_time":"2023-06-12T05:49:00+00:00","article_modified_time":"2023-09-22T14:55:56+00:00","og_image":[{"width":1920,"height":1080,"url":"https:\/\/expert-only.com\/wp-content\/uploads\/2022\/04\/code-1839406_1920.jpg","type":"image\/jpeg"}],"author":"Expert-Only","twitter_card":"summary_large_image","twitter_creator":"@expert_only","twitter_site":"@expert_only","twitter_misc":{"Written by":"Expert-Only","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/expert-only.com\/en\/ms-dos\/rename-multiple-windows-files\/#article","isPartOf":{"@id":"https:\/\/expert-only.com\/en\/ms-dos\/rename-multiple-windows-files\/"},"author":{"name":"Expert-Only","@id":"https:\/\/expert-only.com\/en\/#\/schema\/person\/406a9576b52944f018739a42046873ef"},"headline":"How to batch rename multiple files with Windows cmd?","datePublished":"2023-06-12T05:49:00+00:00","dateModified":"2023-09-22T14:55:56+00:00","mainEntityOfPage":{"@id":"https:\/\/expert-only.com\/en\/ms-dos\/rename-multiple-windows-files\/"},"wordCount":965,"publisher":{"@id":"https:\/\/expert-only.com\/en\/#organization"},"image":{"@id":"https:\/\/expert-only.com\/en\/ms-dos\/rename-multiple-windows-files\/#primaryimage"},"thumbnailUrl":"https:\/\/expert-only.com\/wp-content\/uploads\/2022\/04\/code-1839406_1920.jpg","articleSection":["MS-DOS"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/expert-only.com\/en\/ms-dos\/rename-multiple-windows-files\/","url":"https:\/\/expert-only.com\/en\/ms-dos\/rename-multiple-windows-files\/","name":"How to rename multiple files with Windows cmd? MS-DOS","isPartOf":{"@id":"https:\/\/expert-only.com\/en\/#website"},"primaryImageOfPage":{"@id":"https:\/\/expert-only.com\/en\/ms-dos\/rename-multiple-windows-files\/#primaryimage"},"image":{"@id":"https:\/\/expert-only.com\/en\/ms-dos\/rename-multiple-windows-files\/#primaryimage"},"thumbnailUrl":"https:\/\/expert-only.com\/wp-content\/uploads\/2022\/04\/code-1839406_1920.jpg","datePublished":"2023-06-12T05:49:00+00:00","dateModified":"2023-09-22T14:55:56+00:00","description":"How to rename multiple files with Windows cmd ? Use and adapt these practical scripts to batch rename file names and extensions.","breadcrumb":{"@id":"https:\/\/expert-only.com\/en\/ms-dos\/rename-multiple-windows-files\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/expert-only.com\/en\/ms-dos\/rename-multiple-windows-files\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/expert-only.com\/en\/ms-dos\/rename-multiple-windows-files\/#primaryimage","url":"https:\/\/expert-only.com\/wp-content\/uploads\/2022\/04\/code-1839406_1920.jpg","contentUrl":"https:\/\/expert-only.com\/wp-content\/uploads\/2022\/04\/code-1839406_1920.jpg","width":1920,"height":1080},{"@type":"BreadcrumbList","@id":"https:\/\/expert-only.com\/en\/ms-dos\/rename-multiple-windows-files\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"en","item":"https:\/\/expert-only.com\/en\/"},{"@type":"ListItem","position":2,"name":"How to batch rename multiple files with Windows cmd?"}]},{"@type":"WebSite","@id":"https:\/\/expert-only.com\/en\/#website","url":"https:\/\/expert-only.com\/en\/","name":"SQL and IT Tutorials","description":"","publisher":{"@id":"https:\/\/expert-only.com\/en\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/expert-only.com\/en\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/expert-only.com\/en\/#organization","name":"Expert-Only","url":"https:\/\/expert-only.com\/en\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/expert-only.com\/en\/#\/schema\/logo\/image\/","url":"https:\/\/expert-only.com\/wp-content\/uploads\/2017\/09\/cropped-logo_Expert-Only.jpg","contentUrl":"https:\/\/expert-only.com\/wp-content\/uploads\/2017\/09\/cropped-logo_Expert-Only.jpg","width":381,"height":174,"caption":"Expert-Only"},"image":{"@id":"https:\/\/expert-only.com\/en\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/ExpertOnlyCom\/","https:\/\/x.com\/expert_only","https:\/\/www.youtube.com\/channel\/UCMS5sR_FwAetB0FmciNvUaA"]},{"@type":"Person","@id":"https:\/\/expert-only.com\/en\/#\/schema\/person\/406a9576b52944f018739a42046873ef","name":"Expert-Only","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/expert-only.com\/en\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/084b15660763ff5b13bb60b2f52f97bb?s=96&d=identicon&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/084b15660763ff5b13bb60b2f52f97bb?s=96&d=identicon&r=g","caption":"Expert-Only"}}]}},"_links":{"self":[{"href":"https:\/\/expert-only.com\/en\/wp-json\/wp\/v2\/posts\/6526","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/expert-only.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/expert-only.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/expert-only.com\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/expert-only.com\/en\/wp-json\/wp\/v2\/comments?post=6526"}],"version-history":[{"count":6,"href":"https:\/\/expert-only.com\/en\/wp-json\/wp\/v2\/posts\/6526\/revisions"}],"predecessor-version":[{"id":27054,"href":"https:\/\/expert-only.com\/en\/wp-json\/wp\/v2\/posts\/6526\/revisions\/27054"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/expert-only.com\/en\/wp-json\/wp\/v2\/media\/6520"}],"wp:attachment":[{"href":"https:\/\/expert-only.com\/en\/wp-json\/wp\/v2\/media?parent=6526"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/expert-only.com\/en\/wp-json\/wp\/v2\/categories?post=6526"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/expert-only.com\/en\/wp-json\/wp\/v2\/tags?post=6526"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}