
W M F R E N

File RENaming utility


Copyright (c) 1998 by Warren Mann



MANUAL

This program reads the current date and time from the system and uses it to change the name
of a specified file(s).  The format of the new name can be given on the command line.

To run WMFREN from the command prompt, enter:

	WMFREN old_name new_name

Where old_name is the name of the file to change and new_name specifies the new name to
give the file.  WMFREN will work with long filenames under Windows '95. 

WMFREN works similarly to the standard REN command, with the exception that it does not
accept wildcards and it can do string replacements as follows:

$YE{:[2|4]} ... replaced with two digit decade (:2) or 4 digit century (:4)
                default if ':#' is not specified is ':2'
$MO ........... replaced with two digit month
$DA ........... replaced with two digit day
$HO ........... replaced with two digit hour (24 hour format)
$MI ........... replaced with two digit minute
$SE ........... replaced with two digit second
$$ ............ replaced with one $

Given the current system date of June 24, 1998, and the WMFREN command of
WMFREN old_name.ext1 $mo-$da-$ye.ext2, this gives the new file name:

06-24-98.ext2

To use these characters verbatim, simply precede them with an extra $ character.  So,

for the date June 24, 1998:

	WMFREN old_name.ext $da-$$mo-$ye.ext2

renames old_name.ext to:

	06-$mo-98.ext2

and

	WMFREN old_name.ext $da-$$-$ye.ext2

Renames old_name.ext to:

	06-$-98.ext2

That pretty much wraps up the complexities of WMFREN usage.  This program may
be freely passed around and I do not ask for any sort of reimbursement.


Any questions, comments or suggestions are welcome:

	Warren Mann
	broken@sound.net



REVISION HISTORY

Version 0.01, 06.24.1998
	initial release.



ENJOY!
