XDIR (MSX-DOS)
This page was last modified 14:03, 5 June 2020 by Mars2000you. Based on work by Gdx.

Contents

Description

It's an MSX-DOS 1 tool created by Stefan Danes. You can find it on Dragon Disk 02.

Command

Effect

Displays the names of files (and folders) on disk with additional infos:

  • size of each file, date for each file, time for each file, type of file (BASIC, Binary, Data, MSX-DOS, Text, etc..)
  • for the binary files: start address, end address, execution address (in hexadecimal form)
  • total number of files, number of free bytes on the disk

Note: Under MSX-DOS 2 / Nextor, this tool can only display the files (and folders) of the folder in which you have put it.

Syntax

XDIR <Device>:<Filename>

All parameters are optional.

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 display the names of the files on 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 to display. Wildcards can replace some characters in file name to get 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.

Examples

A>XDIR B:
A>XDIR C:*.COM

Related to

DIR, XDIR (ASCII tool)

Environment

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