title: How to use special characters in choice command - Batch File
body: <p>I would like to add special characters like <code>&lt;</code> <code>|</code> into my choice command, how can I do that?</p>
  
  <p>Here's my old code:</p>
  
  <pre><code>CHOICE /C ABCDEFGHIJKLMNOPQRSTUVWXYZ0134567928 /N /M "Press 8 ...."
  </code></pre>
  
  <p>and I would like it to be something like :</p>
  
  <pre><code>CHOICE /C `~,.&lt;&gt;?ABCDEFGHIJKLMNOPQRSTUVWXYZ0134567928 /N /M "Press 8 ...."
  </code></pre>
  
  <p>Any help will be appreciated, thanks.</p>
  
  <p>EDIT: Since some of you may ask why do I need so many choice, I'm here to answer. It is because pressing an invalid choice would give you an <strong>annoying</strong> beep that I would not like. Therefore I asked this question.</p>