FTIME
This page was last modified 13:56, 5 June 2020 by Mars2000you. Based on work by Manuel.

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 time of a specified file.

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

Syntax

FDATE <Device>:<Filename> <NewTime>

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 time. 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.

<NewTime> needs to be entered in the format HH:MM:SS possibly followed by p or P. If you use 0:0:0, the time will be deleted without replacement.

Example

A>FTIME TESTFILE.BAS 22:35:40

Related to

DIR, TIME

Environment

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