Is it possible to use the Windows cmd.exe TIMEOUT command? Is this problem related to TIMEOUT?
===
U:\DW_Devl\PRESSG~3>IF 0 EQU 0 (
ECHO NB: Waiting for host to clear/remove OK.T file. 1>>"D:\DW_Devl\DW_Load_Logs\pg_3795.2016-05-26T11-09-04.log"
TIMEOUT /T 10 /NOBREAK
GOTO EntryTest
)
ERROR: Input redirection is not supported, exiting the process immediately.