========================================================================
    HTX Renamer v1.01
    Copyright (C) 2008 Harteex Productions
    http://www.harteex.com
    License: MIT license (attached below)
========================================================================


*** Installation instructions ***

To use htxren in the command prompt, it has to be in the PATH
environment variable.

The easiest way is to simply copy htxren.exe to C:\Windows
(or whatever your Windows folder is called)




*** How to use HTX Renamer ***

htxren [/R from_string to_string] [/D string] [/T number] files
  /R    Replace the matching part of the filename
  /D    Delete the matching part of the filename
  /T    Truncate to specified number of letters


/R and /D
The order of these flags is specified by the order in the command line.
As apposed to /T, these flags will touch the extension.
Both these flags are case sensitive.
If you want to input a string with a space, use "" around it.

/T
This flag can only be specified once.
The truncation length is the whole filename including extension,
but it will leave the extension intact.
The /T flag will always be executed last to ensure that the outputted
length isn't longer than specified.

To specify the files, use the wildcard character *.
Examples:
For all files you simply write *
For all mp3 files starting with M you write M*.mp3



Examples:
 htxren /R a o *.mp3
 Mozart.mp3 -> Mozort.mp3

 htxren /D hello /T 10 *
 hello_read_this_file_first.txt -> _read_.txt



A little side-effect: Move files
Replace a part of the filename with "folder/partoffilename" to move the file
into the specified folder. You have to replace the first part of the filename for this to work.




LICENSE:

Copyright (c) 2008 Harteex Productions

Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
files (the "Software"), to deal in the Software without
restriction, including without limitation the rights to use,
copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the
Software is furnished to do so, subject to the following
conditions:

The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
OTHER DEALINGS IN THE SOFTWARE.