File operations (FDISK)

 

Command

Data
(for a query, response data)

Explanation

:CHDIr A
:CHDIr "A$"

A = Directory No.
A$ = Directory name

Change the current directory

:COPY A,"B$"
:COPY "A$","B$"

A = Number of file or directory to copy
A$ = Name of file or directory to copy
B$ = Destination directory name

Copy a file or directory to the specified media

:DELEte A
:DELEte "A$"

A = File or directory number
A$ = File or directory name

Delete a file or directory

:DIR?

A$

A$ = Directory name

Query the current directory

:DRIVe?

A1$A2$...Ax$

Ax$ = D,E,F,...Z (Drive letter)

Query the connected disk drive

:FILE?

A<NR1>

A = Number of files (including directories)

Query the number of files and directories

:FORMat A$

A$ = D,E,F,...Z (Drive letter)

Format storage media

:FREE?

A<NR1>

A = Number of available bytes

Query the number of available bytes.

:INFOr? A

[When using MR8740 compatibility mode]
A<NR1>,"B$","C$","D$",E<NR1>,J$,F$,G<NR1>,"H$","I$"

[When using MR6000 compatibility mode]
A<NR1>,"B$","C$","D$",E<NR1>,F$,G<NR1>,"H$","I$"

A = File or directory number
B$ = File or directory name
C$ = Date of saving
D$ = Time of saving
E = File size (bytes)
F$ = WAVE, SET, DIR, OTHER (Measurement contents)
G = Recording length
H$ = Year/Month/Day of trigger
I$ = Time of trigger
J$ = Function

Query information about a file or a directory

:LDNAme?

"A$"

Query the file name of the loaded file

:LOAD A
:LOAD "A$"

A = File Number
A$ = File Name

Load a file

:MEDIA A$

A$ = D to Z, SSD, USB1 to USB23

Select the storage media type.

:MEDIA?

A$

Query the storage media type.

:MKDIR "A$"

A$ = Directory name

Create a directory

:NINFor? A

A<NR1>,"B$",C$

A = 1 to (Number of files or directories)
B$ = File name
C$ = FILE, DIR

Query a file or directory name

:RENAme A,"B$"
:RENAme "A$","B$"

A = File number before change
A$ = Name before change
B$ = Name after change

Rename a file or directory

:SAVE

-

Save data

:SDIRection A$

A$ = UP, DOWN

Set the sort order of the file list

:SDIRection?

A$

Query the sort order of the file list

:STYPe A$

A$ = NAME, TYPE, SIZE, TIME (When using MR8740 compatibility mode)
A$ = NAME, TYPE, SIZE, DATE (When using MR6000 compatibility mode)

Select the sort key for the file list

:STYPe?

A$

Query the sort key for the file list

:VOLUme?

A<NR1>,B<NR1>

A = Available space
B = Total space

Query the available space and total space of the storage media