Reputation: 97
I have tried many ways to make this batch script write to file without success
>>output.txt(
for /f "tokens=5 delims=ms " %a in ('tracert -4 -d -h 1 google.com ^|find " ms "') do @echo %a
)
Upvotes: 0
Views: 48
Reputation: 80033
>>output.txt(
must be
>>output.txt (
since (
is a legitimate filename character.
Upvotes: 1