Miscellaneous - delete_file, delf, Command syntax, Example – Teledyne LeCroy WaveAce 1000_2000 Remote Control User Manual

Page 55: Miscellaneous - directory, dir, Query syntax, Response format

Advertising
background image

Operator's Manual

MISCELLANEOUS - DELETE_FILE, DELF

The DELETE_FILE command deletes a file from the currently selected directory.

Command Syntax

DELF '<filename>'

Example

The following instruction deletes a trace file:

DELF 'TESTRUN.TRC'

MISCELLANEOUS - DIRECTORY, DIR

The DIRECTORY command is used to create or delete file directories on mass storage devices. It also

allows selection of the current working directory and listing of files in the directory.
The query response consists of a double-quoted string containing a DOS-like listing of the directory. If

no mass storage device is present, or if it is not formatted, the string is left empty.

Command Syntax

DIRectory DISK,UDSK,ACTION,<action>,'<directory>'

<action>:= {CREATE, DELETE, SWITCH}

<directory>:=

A legal DOS path or filename ( can include the '\' character to define the root

directory)

Query Syntax

DIRectory? DISK,UDSK

Response Format

DIRectory? DISK,UDSK,'<directory>'

<directory>:=

A variable length string detailing the file content of the hard disk

920836 Rev B

53

Advertising