FDATE
This page was last modified 13:56, 5 June 2020 by Mars2000you.

Contents

Description

It's a MSX-DOS 1 tool created by Robbert Wethmar. You can find it

The source code is available on Robbert Wethmar's GitHub repository.

Command

Effect

Modifies the date of a specified file.

Note: Under MSX-DOS 2 / Nextor, this tool can only modify the date of the files that are in the same folder.

Syntax

FDATE <Device>:<Filename> <NewDate>

Parameters

<Device> is the name for used device. It can only be a disk drive.

If you don't specify the drive, the computer will use the currently active drive (by default, it's drive A:)

Device type Device name Remark
Disk drive A, B, C, D, E, F, G, H A floppy disk interface can control until 2 drives.


<Filename> is the file name whose you want to modify the date. Wildcards can replace some characters in file name to handle several files and/or folders. The asterisk (*) and question mark (?) are used as wildcard characters. The asterisk matches any sequence of characters, whereas the question mark matches any single character.

<NewDate> needs to be entered in the format DD:MM:YY, even if the displayed format is different. If you use 0:0:0, the date will be deleted without replacement, and the time for this file will no more be displayed.

Example

A>FDATE TESTFILE.BAS 05:11:54

Related to

DATE, DIR

Environment

  • MSX1 and higher
  • MSX-DOS 1 / MSX-DOS 2 / Nextor