Hello
I have the following script which I am running on a windows server. in a workflow
! List the Weekly-GMR files in the D:\SAP_REPORT\Inbound folder
: SET &LISTFILE# = PREP_PROCESS("OMP-BATCHQA","WINCMD","","CMD=DIR /b /a-d D:\SAP_REPORT\InBound\Stock_List_*.csv > D:\Stock_Archive\StockList.log","UC_LOGIN=LOGIN.OMPBATCH")
: PROCESS &LISTFILE#
: ENDPROCESS
: CLOSE_PROCESS &LISTFILE#
When I execute the script, the LastReport will show that the script has been executed
2019-05-15 12:25:04 - U0007000 'EVENT.WINCMD' activated with RunID '0138289588'.
But the script doesn't seem to do anything. I've checked that the command inside the script is valid and have run it manually on the server when connected as the same user the script runs as and it works fine. Even if I execute the script directly from the object itself, it still doesn't work
Any ideas of why it is not doing what it is supposed to do ?
Regards
Craig