Deletes a file from a directory on a PC.
Syntax
CHGVAR |
VAR(&CMD) VALUE('DELETEFILE') |
CHGVAR |
VAR(&PARM1) VALUE(' File="File to delete" ') |
CHGVAR |
VAR(&PARM2) VALUE(' ') |
CALL |
PGM(LNCCMD) PARM(&HANDLE &CMD &OPT &PARM1 &PARM2 &RESULT) |
Parameters
Parameters |
|
Parm1 |
File : Complete path and name of the file to delete.
|
RESULT |
Contains eventually error message.
|
|
|
Example
LNCCMD CMD(DELETEFILE) PARM1('File="C:\temp\res.pdf"')