Tech Support Forum banner
1 - 6 of 6 Posts

· Registered
Joined
·
75 Posts
Discussion Starter · #1 ·
Hello.
I need to rename a folder full of files, which have 10 letters/symbols that I need to remove.

I want to change from:
"ABC1234 - My file.rar" to "My file.rar"
"ABC1235 - Another File.rar" to "Another File.rar"
"ABC1236 - And another File.rar" to "And another File.rar"

So it is about removing the first 10 signs of the filename, including numbers, letters, 2 empty spaces and - symbols.
"ABC1234 - " this part needs to be removed. But it is always different for every file.


I am searching for a command to create a batch file, but I sadly didn't find a suitable command, because all I found was deleting always the same letters, but in my case the first 10 letters and numbers differ. I hope you understand what I intend to describe.

Thanks a lot for reading!
 

· TSF Moderator , Hardware Team , Networking Team
Joined
·
11,911 Posts

· Registered
Joined
·
75 Posts
Discussion Starter · #5 ·
Thank you for the reply, but something really went wrong and now all filenames are messed up..
I had a backup, thankfully.

I don't know what went wrong, but it removed much more than 10 characters.

I try to check what I did wrong.
 

· TSF Moderator , Hardware Team , Networking Team
Joined
·
11,911 Posts
1 - 6 of 6 Posts
This is an older thread, you may not receive a response, and could be reviving an old thread. Please consider creating a new thread.
Top