|
How-To Trim and Remove Characters, Letters, or Numbers from Filenames in Batch
by: unknown - (Submit your own tutorials to tutorials@stintercorp.com)
Using Batch Rename .EXE from SoftTech InterCorp. (http://www.stintercorp.com/br.php)
(Tutorial is based on Version 1.0.53 - If Screenshots are missing the original article can be found at http://www.stintercorp.com/tutorial_br_trimming_filenames.php)
Filenames to long? Unwanted letter, numbers, characters at the start, middle or end of your filenames? Wanting to use only a middle section of the filename? Batch Rename .EXE can solve these problems in a flash; using the Left, Right and Middle commands. I'll demonstrate below so you can learn how to trim and remove unwanted 'text' from your files too! And once you've learned the basics the program can batch apply your settings to thousands of files at once.
First off is the Left(#) Command. Which is seen as {Left(#)}
The # = The Length / Number of Characters to display/remove.
Examples working with the file "hello world.jpg":
{Left(5)} would return "hello.jpg"
{Left(8)} would return "hello wo.jpg"

Using Replace to trim off characters from the file.
In the Replace Filed '{Left(6)}' would return "world.jpg"
In the Replace Filed '{Left(8)}' would return "rld.jpg"

Second the Right(#) Command. Which is seen as {Right(#)}
The # = The Length / Number of Characters to display.
Examples working with the file "hello world.jpg":
{Right(5)} would return "world.jpg"
{Right(8)} would return "lo world.jpg"

Using Replace to trim off and or remove characters from the file.
In the Replace Filed '{Right(5)}' would return "hello.jpg"
In the Replace Filed '{Right(8)}' would return "hel.jpg"

Third is the Middle(#,#2) Command. Which is seen as {Middle(#)}
The # = The Starting Point / Character
The #2 = The Length / Number of Characters to display after the starting point.
Examples working with the file "hello world.jpg":
{Middle(3,3)} would return "llo.jpg"
{Middle(2,8)} would return "ello wor.jpg"

Using Replace to trim off and or remove characters from the file.
In the Replace Filed '{Middle(5,1)}' would return "hell wrld.jpg"
In the Replace Filed '{Middle(6,2)}' would return "helloorld.jpg"

(TIP: You don't have to manually type in the number value for Left, Right or Middle. You can simply select the field then press '+' or '-' to increase and decrease the values respectfully.)
<< You have reached the end of this tutorial >>
|