Re: "Delete original file" in Command Executor not working
Posted: Wed Nov 27, 2019 9:41 am
Yeah the thinking is absolutely correct, it has to do with the exit code.
In fact, the windows "del" command basically always exits with exit code 0 (which means success). It would only exit with bad exit code in case you provided wrong commandline parameters or so.
To workaround, one could use another program than "del" to delete files, e.g. "rm" from the unix tools for windows: http://unxutils.sourceforge.net/
In fact, the windows "del" command basically always exits with exit code 0 (which means success). It would only exit with bad exit code in case you provided wrong commandline parameters or so.
To workaround, one could use another program than "del" to delete files, e.g. "rm" from the unix tools for windows: http://unxutils.sourceforge.net/