This is the script I can run from the commandline:
(for /r %i in (*) do @echo %~fsi) | clip
But inside a batch file, I get a syntax error about unexpected brackets....
) was unexpected at this time. (for /r ~fsi) | clip
Super User is a question and answer site for computer enthusiasts and power users. It only takes a minute to sign up.Sign up to join this community