@echo off
(for /f "tokens=3,* delims=/" %%a in (input.txt) do echo %%b) > output.txt
And the "trick" is to ask for the third token and the rest of the line.
To use it directly from the command line:
(for /f "tokens=3,* delims=/" %a in (input.txt) do @echo %b) > output.txt
The escaped percent signs are simplified and, as from command line the echo off
is not enabled by default, the @
before echo
is needed.