del[-] file [flags]
file - file or folder.
flags - flags that control the file operation. Possible and default values are listed here.
Options: - delete file. Default: move file to Recycle Bin.
Deletes a file or folder.
Like all QM file functions, supports special folders. Also supports relative paths (in QM 2.3.0 and above it works better).
To delete multiple files, can be used one of the following:
1. Use wildcard characters in filename part of from. All matching files will be deleted.
2. Use list of files (full paths) in from, one file in a line.
3. Enumerate files. To insert the code, use the 'Enumerate Files' dialog.
Drag and drop a file onto the macro text to insert full path.
Send file to Recycle Bin del "$desktop$\text.txt" Delete file del- "$desktop$\text.txt" Empt Recycle Bin SHEmptyRecycleBin 0 0 SHERB_NOCONFIRMATION