Windows cannot find 'DESELECT'

Have a button which I want to select all files in selected folder and deselect the folder.
Tried this

Select PATTERN=* PATH={filepath} TYPE=files
DESELECT {filepath}

but it shows this error dialog
image

how do I fix please.

There is no Deselect command in Windows or Opus.

The Opus Select command can be used to deselect things (it changes the selection in general).