:MMEM:DEL

Type

Command

Syntax

:MMEMory:DELete <String>

Description

This command deletes an existing file or directory (folder).

      • When you delete a directory, all the files and directories in it are deleted.

Specify the file name with the extension.

When you specify a file (directory) under an existing directory, separate them with "\" (back slash), or "/" (slash).

To delete all the files in the directory (folder), specify "\" (backslash).

Variable

Parameter

String

Description

File name or directory name you want to delete

Data Type

Character string type (String)

Range

254 chars

Examples

Dim Var as String
Var ="C:\temp\temp.txt"
Ena.WriteString ":MMEM:DEL " & Var, True

Equivalent Softkey

No equivalent key is available on the front panel.

COM Command Syntax (Internal Control Only)

SCPI.MMEMORY.DELETE