{"id":27947,"date":"2022-09-03T11:42:43","date_gmt":"2022-09-03T06:12:43","guid":{"rendered":"http:\/\/198.58.113.91\/blog\/?p=27947"},"modified":"2022-09-03T11:50:23","modified_gmt":"2022-09-03T06:20:23","slug":"cant-rename-files-upper-lowercase-usb-drives","status":"publish","type":"post","link":"https:\/\/www.winhelponline.com\/blog\/cant-rename-files-upper-lowercase-usb-drives\/","title":{"rendered":"Why Can&#8217;t I Rename Files to Upper or Lowercase on USB Drives"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" class=\"alignright wp-image-6633\" src=\"https:\/\/www.winhelponline.com\/blog\/wp-content\/uploads\/2018\/09\/usb-flash-disk.png\" alt=\"usb flash drive\" width=\"48\" height=\"48\" \/>Here&#8217;s a user query where they&#8217;re unable to change the file name extension to lowercase from uppercase (or the other way) on external drives. For instance, the command-line to bulk change the extension (<code>ren *.WAV\u00a0 *.wav<\/code>) may work on the system drive but not on an external drive.<!--more--><\/p>\n<p>Query:<\/p>\n<p><em>My audio devices produce thousands of <code>.WAV<\/code> files &#8212; e.g., <code>V001_20220621_023000.WAV<\/code>. To analyze them, I use an R-package, but the scripts use&#8221;<code>.wav<\/code>&#8220;, so the commands do not work with my files. I tried to rename them with a couple of files in a test folder on the C: drive with &#8220;<code>ren *.WAV *.wav<\/code>&#8220;. This worked perfectly. BUT my files are stored on an external drive E:<\/em><\/p>\n<p><em>So I set the path in cmd to the folder with my files (also a test folder, to be sure) and used the same command as before, but nothing happened. I searched through some forums for a solution, but could not find one. The files have no limitations for writing or reading. I run the cmd.exe as administrator. The external drive can be used by all users on the computer. There are no spaces in the file names. I&#8217;ve also tried renaming with Microsoft PowerToys PowerRename. That didn&#8217;t help.<\/em><\/p>\n<h2>Solution<\/h2>\n<p>Your external drive(s) may be formatted as FAT32. On FAT32 drives, changing the file names to lowercase can be done only if you make some other modification to the filename &#8212; e.g., change the file name or its extension.<\/p>\n<p>In other words, if the rename operation is only for changing the capitalization\/case of a file, then FAT32 doesn&#8217;t support it. It works if the rename operation is more than just changing a lowercase to a capital or vice versa.<\/p>\n<h3>Rename files or folders in two passes<\/h3>\n<p>To work around this, you can rename a file\/folder or a set of files in <strong>two passes<\/strong>, as follows.<\/p>\n<p><strong>Example 1:<\/strong> To change a name\/extension to lowercase:<\/p>\n<p><em>If it&#8217;s a single file, you can simply use File Explorer to rename the file twice\/2 passes. If using Command Prompt, try this:<\/em><\/p>\n<ul>\n<li>ren Media.TXT to Media.txt.2022<\/li>\n<li><span style=\"font-size: inherit;\">ren Media.txt.2022 to media.txt<\/span><\/li>\n<\/ul>\n<p><em>Note: Be sure to use a unique file name for renaming. If a file exists with the same name (e.g., Media.txt.2022) in that folder, there will be a conflict.<\/em><\/p>\n<p><strong>Example 2:<\/strong> To bulk change extension to lowercase (.WAV to .wav):<\/p>\n<ul>\n<li>ren *.WAV\u00a0 \u00a0*.blahblah<\/li>\n<li><span style=\"font-size: inherit;\">ren *.blahblah\u00a0 *.wav<\/span><\/li>\n<\/ul>\n<p>I hope that helps.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Here&#8217;s a user query where they&#8217;re unable to change the file name extension to lowercase from uppercase (or the other way) on external drives. For instance, the command-line to bulk change the extension (ren *.WAV\u00a0 *.wav) may work on the system drive but not on an external drive.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_post_was_ever_published":false},"categories":[7],"tags":[106],"class_list":["post-27947","post","type-post","status-publish","format-standard","hentry","category-windows","tag-command-prompt"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":4883,"url":"https:\/\/www.winhelponline.com\/blog\/deskthemepack-extract-themepack-wallpapers-windows\/","url_meta":{"origin":27947,"position":0},"title":"Extract Wallpapers from DeskThemePack and ThemePack Files","author":"Ramesh","date":"December 19, 2016","format":false,"excerpt":"This article shows you different ways of extracting wallpaper images from a theme pack file in Windows. A theme is a combination of desktop background pictures, window colors, and sounds. Windows themes come in the form of theme packs. Theme packs are essentially CAB files that enclose resources such as\u2026","rel":"","context":"In &quot;Windows&quot;","block_context":{"text":"Windows","link":"https:\/\/www.winhelponline.com\/blog\/category\/microsoft\/windows\/"},"img":{"alt_text":"extract wallpapers from themepack and deskthemepack","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2016\/12\/themepack-extract-4.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2016\/12\/themepack-extract-4.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2016\/12\/themepack-extract-4.png?resize=525%2C300&ssl=1 1.5x"},"classes":[]},{"id":14516,"url":"https:\/\/www.winhelponline.com\/blog\/how-to-convert-wma-files-to-mp3-format-windows\/","url_meta":{"origin":27947,"position":1},"title":"How to Convert WMA to MP3 Format in Windows","author":"Ramesh","date":"March 9, 2020","format":false,"excerpt":"Windows Media Audio (WMA) is a proprietary technology developed by Microsoft that forms part of the Windows Media framework. WMA produces better sound at low bitrates compared to MP3. It leads to smaller file sizes.\u00a0Since the WMA format is proprietary, we have more devices that use the MP3 format compared\u2026","rel":"","context":"In &quot;Utilities&quot;","block_context":{"text":"Utilities","link":"https:\/\/www.winhelponline.com\/blog\/category\/utilities\/"},"img":{"alt_text":"audacity convert wma to mp3 export using macros","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2020\/03\/audacity-macro-export-as-mp3-1.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2020\/03\/audacity-macro-export-as-mp3-1.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2020\/03\/audacity-macro-export-as-mp3-1.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2020\/03\/audacity-macro-export-as-mp3-1.png?resize=700%2C400&ssl=1 2x"},"classes":[]},{"id":1035,"url":"https:\/\/www.winhelponline.com\/blog\/share-desktop-theme-common-all-users\/","url_meta":{"origin":27947,"position":2},"title":"How to Install a Desktop Theme For All Users in Windows 7, 8 and Windows 10","author":"Ramesh","date":"April 21, 2010","format":false,"excerpt":"A theme is a combination of desktop background pictures, Window colors, sound scheme and a screensaver. Windows 7 introduces a new file format (.themepack) which is basically a .cab file that can contain images, audio files for sound scheme, mouse cursors, icons and the .theme file itself. This file format\u2026","rel":"","context":"In &quot;Windows&quot;","block_context":{"text":"Windows","link":"https:\/\/www.winhelponline.com\/blog\/category\/microsoft\/windows\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/w10\/fruitninja-pg2.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":59640,"url":"https:\/\/www.winhelponline.com\/blog\/sound-scheme-yellow-exclamation\/","url_meta":{"origin":27947,"position":3},"title":"Sound Scheme &#8220;Windows Default&#8221; has Yellow Exclamation Mark","author":"Ramesh","date":"July 23, 2023","format":false,"excerpt":"When you open the Sounds dialog (mmsys.cpl) and switch to the \"Windows Default\" sound scheme, some program events may show up with a yellow exclamation mark\u00a0 -- actually, a yellow triangle with a black exclamation mark. Additionally, there may be some duplicate events -- e.g., two \"Critical Battery Alarm\" events.\u2026","rel":"","context":"In &quot;Windows 10&quot;","block_context":{"text":"Windows 10","link":"https:\/\/www.winhelponline.com\/blog\/category\/microsoft\/windows\/windows-10\/"},"img":{"alt_text":"sound scheme yellow exclamation mark","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2023\/07\/sounds-yellow-exclamation.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":1434,"url":"https:\/\/www.winhelponline.com\/blog\/hidden-snapshots-sound-event-print-scrn-key\/","url_meta":{"origin":27947,"position":4},"title":"Hidden &#8220;Snapshots&#8221; Sound Event for Print Scrn key (Fun Tip!)","author":"Ramesh","date":"January 15, 2016","format":false,"excerpt":"It's a nice feeling when you come across a hidden setting in Windows, be it a small tweak or a big usability feature. One such little feature is the Snapshot (screenshot) Sound Event that I'm going to write about today. In Windows, you can set a .wav file to play\u2026","rel":"","context":"In &quot;Windows&quot;","block_context":{"text":"Windows","link":"https:\/\/www.winhelponline.com\/blog\/category\/microsoft\/windows\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/w10\/w10-snapshot-0.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":4502,"url":"https:\/\/www.winhelponline.com\/blog\/new-spotlight-wallpaper-notify-windows-10-lock-screen\/","url_meta":{"origin":27947,"position":5},"title":"Get Notified When Windows 10 Brings a New Spotlight Image Every time [Lock Screen]","author":"Ramesh","date":"November 2, 2016","format":false,"excerpt":"Windows Spotlight brings some amazing wallpapers for the Lock Screen, which you can save and use as your desktop background. By now, I'm pretty sure most users know how to view and store the lock screen images collection from the Assets folder. Then I made a post on how to\u2026","rel":"","context":"In &quot;Utilities&quot;","block_context":{"text":"Utilities","link":"https:\/\/www.winhelponline.com\/blog\/category\/utilities\/"},"img":{"alt_text":"get notified new spotlight image","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2016\/11\/newfilego-1.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2016\/11\/newfilego-1.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2016\/11\/newfilego-1.png?resize=525%2C300&ssl=1 1.5x"},"classes":[]}],"_links":{"self":[{"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/posts\/27947","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/comments?post=27947"}],"version-history":[{"count":0,"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/posts\/27947\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/media?parent=27947"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/categories?post=27947"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/tags?post=27947"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}