Rename multiple files in a folder, add a prefix (Windows)
问题 I'd like to batch rename files in a folder, prefixing the folder's name into the new names. i.e. files in C:\house chores\ will all be renamed house chores - $old_name . 回答1: Option 1: Using Windows PowerShell Open the windows menu. Type: "PowerShell" and open the 'Windows PowerShell' command window. Goto folder with desired files: e.g. cd "C:\house chores" Notice: address must incorporate quotes "" if there are spaces involved. You can use 'dir' to see all the files in the folder. Using '|'