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