This question already has an answer here:

The @ Symbol is very common in Batch Scripts. Comments section mistakenly interprets it as an @reply comment. Here in this example Comment section thinks I'm referencing a user named @echo The image below shows what I mean.

enter image description here

My Current work-around is to place @echo off in double quotes. However that also leads to confusions sometime.

Is there any solution other than not referencing @User or putting the code starting with @ in double quotes?

marked as duplicate by Shadow The Princess Wizard support Oct 17 '15 at 19:48

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.


Put the batch script command in backticks (code quotes):

@StefanFalk remove @echo off. You'll be able to see where things are going wrong.

This will means it won't get treated as an @mention and is a valid use for backticks. You can't circumvent the one @reply per comment limit as the text inside backticks isn't interpreted. So if you tried to type @ChrisF (say) to try to mention me as well I wouldn't see any notification from this.

  • Thanks @ChrisF. I never thought about @echo off idea. In fact I just came to know I can place @echo or @User in backticks. – Abdullah Leghari Oct 17 '15 at 17:26
  • Guess. It works. Thanks again – Abdullah Leghari Oct 17 '15 at 17:27
  • 1
    You only need 1 back tick - anywhere in the comment. – Tim Oct 17 '15 at 19:21
  • 1
    @AbdullahLeghari As you can see this works even though there are two @notifcations and one backtick ` – Tim Oct 17 '15 at 19:22
  • That sounds good too. – Abdullah Leghari Oct 17 '15 at 19:23

Not the answer you're looking for? Browse other questions tagged .