I have the same error that you had. I turned the echo on and the result see below. The timeout command is complaining. That should be easy to fix, since I only needed a sleep.
E:\....>IF 1 == 1 (timeout /t 5 /nobreak )
ERROR: Input redirection is not supported, exiting the process immediately.
Search found 1 match
- 01 Mar 2013 12:36
- Forum: DOS Batch Forum
- Topic: Interactive Remote command execution through wmic
- Replies: 7
- Views: 17213