FDISK Commands (Set and query file operations)

 

Command

Data
(for a query, response data)

Explanation

Function

:CHDIR NO
:CHDIR "NAME$"

NO: file number
NAME$: file name

Change the current directory.

ALL

:COPY NO,A$
:COPY "NAME$",A$

NO: file number
NAME$: file name
A$: CF, USB1, INTMEM, HDD

Copy a file or directory to the specified media.

ALL

:DELEte NO
:DELEte "NAME$"

NO: file number
NAME$: file name

Delete a file or directory.

ALL

:DIR?

A$

Query the current directory.

ALL

:FILE?

A<NR1>

Query the number of files and directories.

ALL

:FORMat A$

A$: CF, USB1, INTMEM, HDD

Format storage media.

ALL

:FREE?

A<NR1>

Query the number of available bytes.

ALL

:INFOr? NO

[response]
NO<NR1>,"NAME$","DATE$",
"TIME$",A,B$,C,D,"TDATE$","TTIME$"

NO: file or directory number
NAME$: file or directory name
DATE$: year/month/day of save
TIME$: hour/min/sec of save
A: file size (bytes)
B$: fuinction
C$: measurement contents
D: recording length
TDATE$: year/month/day of trigger
TTIME$: hour/min/sec of trigger time

Query information about a file or a directory.

ALL

:LOAD NO(,A$)
:LOAD "NAME$"(,A$)

NO: file number
NAME$: file name
A$: NEW

Load a file.

ALL

:MEDIA A$

A$: CF, USB1, INTMEM, HDD

Select the storage media type.

ALL

:MEDIA?

A$

Query the storage media type.

ALL

:MKDIR "A$"

A$: directory name

Create a directory.

ALL

:NINFor? NO

[responce] NO<NR1>,"NAME$",A$
NO: file number
NAME$: file name
A$: FILE, DIR

Query a file or directory name

ALL

:RENAme A,"NAME2$"
:RENAme "NAME1$","NAME2$"

A: File number
NAME1: Original name
NAME2: New name

Rename a file or directory.

ALL

:SAVE "NAME$",A$(,B$)(,C$)

NAME$: file name
A$: BIN, TEXT, SET, MEAS, ALLBin, ALLText
B$: CH1 to ,L0 to L8,Z,ALL(if A$ = BIN, TEXT, ALLBin or ALLText and not XY function)
B$: NEW,EXIST(a$ = "MEAS")
C$: OFF,16,32,64(if A$ = "BIN")
C$: OFF,X1_2 to X1_1000(if A$ = "TEXT" or "ALLText")

Save.

ALL

:SDIRection A$

A$: UP, DOWN

Set the sort order of the file list.

ALL

:SDIRection?

A$

Query the sort order of the file list.

ALL

:STYPe A$

A$: OFF, NAME, TYPE, TIME, SIZE

Select the sort key for the file list.

ALL

:STYPe?

A$

Query the sort key for the file list.

ALL