You are seeing the cannot open *.xml
because, unlike Unix shells, the Windows CMD shell does not expand wild cards.
If you want to stay with cmd
, you can form a for
loop over files or you could switch to something more powerful like PowerShell and try this (untested): Perl -pi.bak -e "s/\\t/\t/g;" (Get-ChildItem *.xml | % { "$_" })
.