File Prefix rename

The Rename command is a great thing to remember when you have a directory full of files that you need to change the Prefix (first part of something) on.

Rename is a very old and rarely used properly completed command.

For example to remove a prefix note from note1.txt, note2.txt, note3.txt etc. in order to get 1.txt, 2.txt, 3.txt simply open a command prompt (as administrator) and do the following:

rename “note*.txt” “////*.txt”

You need the same number of / as the number of characters you would like to remove.

Don’t forget to use double quotes for both arguments.