setfdate V2.00 (2009-02-26)

Function

sets file time and date

Type

External MS-DOS program (supports 8.3 filenames only).

Format

setfdate filename [time] | [time] [date]

[] these parameters are optional

time HH:MM:SS (HH=hour, MM=minute, SS=second)
date yyyy-mm-dd (yyyy=year, mm=month, dd=day)

Comments

If only filename is given the file will get the current date and time.
If filename and time are give only time will be modified.
If filename, time and date are given both time and date will be set.

Example

REM set file to current date (like UNIX touch)
setfdate setfdate.c
REM set file to version number 1.23
setfdate setfdate.man 01:23:00
REM set file to version number and release date
setfdate setfdate.com 02:00:00 2009-02-26

Author/Copyright

Copyright (C) 1993-2009 by Kostis Netzwerkberatung
Talstr. 25, D-63322 Rödermark, Tel. +49 6074 881056
kosta@kostis.net (Konstantinos Kostis), http://www.kostis.net/

You may use this program free of charge at your own risk.