I'm trying to get this simple Powershell script working but I think something is fundamentally wrong ;-)
ls | foreach { "C:\Working\tools\custom-tool.exe" $_ }
I basically want to get files in a directory and pass them one by one as arguments to the custom tool.