Use ^ to echo a > in windows batch files

In a batch file it may be necessary to echo a < or >
To do this you just need to add ^ before the < or >

For Example:

Echo The file is nearly done >>>

Would need to be written as:

Echo The file is nearly done ^>^>^>
Print Friendly, PDF & Email

More Like This


Categories


Win 7 / 10 Tips & Tricks Windows XP Tips & Tricks
  • Post a comment