WMFREN

Reads the current date and time from the system
Download

WMFREN Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Freeware
  • Publisher Name:
  • Warren Mann
  • Operating Systems:
  • Windows All
  • File Size:
  • 18 KB

WMFREN Tags


WMFREN Description

The WMFREN application was developed to be a small program that 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{:} ... 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


WMFREN Related Software