2 Replies Latest reply: Sep 11, 2015 9:54 AM by Gines Rueda RSS

    How to catch EXECUTE command errors/messages.

    Gines Rueda



      Is there a way to retrieve the error message that cmd.exe gives when I run this sentence in my QV script?


      EXECUTE cmd.exe /C del "H:\file.csv" /q;


      My point is that the file could be opened by a third party then the file would not be deleted, and no error or message will be return.