yoss
yoss

Reputation: 97

couldnt make this batch script function to write to text file

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

Answers (1)

Magoo
Magoo

Reputation: 80033

>>output.txt(

must be

>>output.txt (

since ( is a legitimate filename character.

Upvotes: 1

Related Questions