Relevant query command, See also, Fil,del: deleting files and directories – Spectra Precision ProFlex 800 Reference Manual User Manual

Page 398: Function, Command format

Advertising
background image

384

Set Command Library

Parameters

Example

Deleting the 6th file from memory:

$PASHS,FIL,D,5*47

Comments

If the file you want to delete is the only file present in the
selected memory and this file is currently being used, the
“NAK” message is returned to inform you that the file cannot
be deleted.

Relevant Query

Command

None.

See also

$PASHQ,FLS

$PASHS,MEM to select the memory from which to delete
files.

FIL,DEL: Deleting Files and Directories

Function

This command allows you to delete files and directories from
the selected internal or external memory.

Command Format

Syntax

$PASHS,FIL,DEL,[d1],[s2],s3[,s4[…,sn]][*cc]

Parameter

Description

Range

d

File index number:
• In the range 0-99: With file index number=n,

then file “n+1” will be deleted. Warning! If the
deleted file is not the last one in memory, all the
files that follow the deleted file will have their
index number re-ordered after deletion of the
file. The index of a file is as listed when using
the $PASHQ,FLS command.

• =999: All the files in memory will be deleted,

except for the following: G-file in use, D-file in
use, ring file buffer, ATL file in use, all directo-
ries, all .log files excluding ATL log files not in
use.

0-99, 999

*cc

Optional checksum

*00-*FF

Advertising