FD sets all files which match the file specification to the current date and time unless overridden on the command line.
Usage: FD {Switches} <File Spec> Drive Spec(s)
Note : If no file specification is entered, all files are listed. If drive specifications are entered then those drives are searched. If no drive specifications are entered then the current drive is searched.
FD sets all files matching the file specification to the current date and time, unless overridden on the command line. The file's last modification date and time are modified. HPFS partitions support date and time fields for the file's creation and last access. FD does not modify these fields.
FD will scan all logical disk drives defined by the system, starting at drive A:. The drives are scanned in order, starting at A:, then B: and so on.
This switch allows you to nominate a specific date instead of using the current date. FD will use the date format of your native country. The available formats are:
On FAT partitions, file names are always displayed in lower case. HPFS partitions retain their case, but the file system does not differentiate between the case of file names, and they are displayed as they were entered. The -f option forces all displayed file names, across all file system types, to be displayed in lower case.
FD will scan all logical disk drives defined by the system, starting at drive C:. The drives are scanned in order, starting at C:, then D: and so on.
FD will include subdirectories as part of its search of the specified disk drives. If a subdirectory name is included as part of the file specification, then the search will include that subdirectory and all subdirectories below it. If no subdirectory is given as part of the file specification, then the current directory and all below it are included in the search.
Instead of using the current time, this switch allows you to nominate a specific time. The time is specified in 24 hour HH:MM:SS format. 00:00:00 is midnight, 12:00:00 is noon, 23:00:00 is 11pm and so on.
FDThis will set all files in the current directory to the current date and time.
FD *.exe -d31-12-93When run in Australia, this will set the date of all .EXE files to the 31st of December 1993.
FD *.exe -d12-31-93When run in the United States of America, this will set the date of all .EXE files to the 31st of December 1993.
FD *.exe -d93-12-31When run in Japan, this will set the date of .EXE files to the 31st of December 1993.
FD -hsThis will set the date and time of the last write of all files on all hard disks to the current date and time.