NameDate is a 32-bit command line utility for Windows XP/7/8/10.
NameDate will change the name of a given file to include the date. For
example, a file name somefile.ext will be renamed to
when namedate somefile.ext is run.
NameDate offers a whole range of options to configure how the resulting
file name should be formatted, define where the file should be located
(you can move the files while renaming them), add a counter or several
NameDate is free software and comes with full source code. No purchase necessary,
but donations are welcome!
New in version 7.00 (14. May 2017)
Added the -ME / --Exif option to use the original date from the Exif data (if present). If no Exif data is found in the file, the modification date (-M) is used.
Completely re-wrote the command line processor. NameDate now supports short (single dash, 1-2 letter) commands and long (double dash, human-readable) commands.
NameDate can now read options from a text file with the @filename command line parameter. (See the README.TXT file for examples).
Added a new -SZ / --FolderFormat option. When used together with -S="dir" (or --TargetFolder="dir") or
-SM="dir" (--MoveToTarget="dir"), the "dir" is processed like a filename using the -Z="fmt"
(--FormatDate="fmt") command. (See the README.TXT file for complete information).
Added the -OW=[n] option to add/subtract [n] WEEKS from the date.
Added the -G option to use UTC instead of the local timezone on the PC.
Revised the code that calculates the -Ax=n and -Ox=n time/date offsets to eliminate some errors seen with timezones calculations.
Compiled with gcc 5.3.0 and tested on Windows 10 (64 bit).
For more details, please see the version information provided with the application.
ZIP archives can be opened with the Windows Explorer, no additional software is required. Double-click on the namedate7-00.zip
to view the archive contents. These can be copied to any folder on your machine.
This program is free software; you can redistribute it and/or modify it under the terms of the
GNU General Public License
as published by the Free Software Foundation; either version 3 of the License, or (at your option)
any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
See the GNU General Public License for more details.
is the name of an existing file. The filename.ext may contain a drive letter, a directory name and wildcards, so it's possible to rename all of the files in a given directory.
"format" characters used by the -Z (--FormatDate) and -ZZ (--NameFormat) options.
These also apply when using the -SZ (--FolderFormat) option.
Abbreviated weekday name
Full weekday name
Abbreviated month name
Full month name
Day of month as decimal number (01-31)
Hour in 24-hour format (00-23)
Hour in 12-hour format (01-12)
Day of year as decimal number (001-366)
Month as decimal number (01-12)
Minute as decimal number (00-59)
Current locale's A.M./P.M. indicator for 12-hour clock
Second as decimal number (00-59)
Week of year as decimal number, with Sunday as first day of week (00-53)
Weekday as decimal number (0-6; Sunday is 0)
Week of year as decimal number, with Monday as first day of week (00-53)
Year without century, as decimal number (00-99)
Year with century, as decimal number
Time-zone name or abbreviation; no characters if time zone is unknown
Same as z
Accept the following character as text instead of a formatting command
Additional Options when -ZZ (--NameFormat) is used:
The original filename (without the extension)
The original file extension (without the leading dot)
A 4-digit counter
A 2-digit counter
"language" options used by the -E (--Region) and -EE (--RegionASCII) options
-E (--Region) specifies the language to use when using -Z (--FormatDate) or -ZZ (--NameFormat) with the a, A, b, and B keys.
-E (--Region) specifies that the conversion will use ANSI characters (Windows character set),
while -EE (--RegionASCII) specifies that the conversion should use ASCII (DOS) characters. See the
examples below for more clarity. For a complete list of languages, please see
MSDN Language Reference