The same trick will work for folders. Open the directory where the files or folders you want to rename are located. Click on the Address Bar of File Explorer, type PowerShell, and hit Enter.
On Windows 11, you can use the New Technology File System (NTFS) lightweight file compression feature to shrink the size of files to save space without manual compression and decompression ...