title: How to set FULL computer name to a variable in windows batch file
body: <p>When <code>right clicking &gt;Computer &gt; Properties</code>, my full computer name is 50 characters.</p>
  
  <p>If I <code>set Cname=%COMPUTERNAME%</code> and <code>echo %Cname%</code>, the FULL name is truncated from 50 characters down to just the Host name of 14 chars</p>
  
  <p>In a batch file, how is the FULL computer name extracted?</p>