@echo off for /f skip^=1^ eol^= %%a in ('replace /W ? . ^nul') do echo:%%a& goto :eof