title: How do I use Rundll32 to swapmousebutton?
body: <p>I'm repeating a question from another forum, as I'd like the same answer.</p>
  
  <p>From MSDN's <a href="http://msdn.microsoft.com/en-us/library/ms646264(VS.85).aspx" rel="noreferrer">SwapMouseButton Function</a>.</p>
  
  <blockquote>
    <p>How do I pass boolean data from command prompt through rundll32.exe to a boolean type argument in a command running from user32.dll?</p>
    
    <p>I'm trying to run this from CMD (the command prompt)</p>
  
  <pre><code>RUNDLL32.EXE user32.dll,SwapMouseButton *
  </code></pre>
    
    <p>Where the asterisk is here is where the argument should go. I already ran it without an argument and it swapped my left and right mouse buttons (seems TRUE is the default entry for the boolean argument). Now I want to undo it.
    However I've tried each of these for passing FALSE in the argument, and none have worked (none set my mouse buttons back to normal).</p>
    
    <ul>
    <li>F</li>
    <li>f</li>
    <li>false</li>
    <li>False</li>
    <li>FALSE</li>
    <li>"false"</li>
    <li>"False"</li>
    <li>"FALSE"</li>
    <li>0</li>
    <li>-1</li>
    </ul>
    
    <p>Please help me pass the argument as needed. Thanks in advance.</p>
  </blockquote>