windows batch pipeline code example Example: make a batch file that accepts pipe input @echo off setlocal set /p "piped=" echo piped: %piped%