
Code: Select all
@echo off & setlocal disableDelayedExpansion
>&2 ( echo.redirecting to stream 2 succesfully )
>&3 ( echo.redirecting to stream 3 succesfully )
< "%~f0" (
>&2 ( echo.redirecting to stream 2 while receiving input succesfully )
>&3 ( echo.redirecting to stream 3 while receiving input failed :^( )
)
pause
exit
Code: Select all
redirecting to stream 2 succesfully
redirecting to stream 3 succesfully
redirecting to stream 2 while receiving input succesfully
Het systeem kan niet naar het opgegeven apparaat schrijven.
Druk op een toets om door te gaan. . .