title: comma separated wmic commands
body: <p>i made this script that uses wmic to get info from remote computer</p>
  
  <pre><code>set /p "user=write UserName="
  set /p "password=write Password="
  
  
  for /f "tokens=*" %%a in (ip.txt) do ( 
  
      wmic /node:%%a /user:%user% /password:%password% computersystem get Name /format:table
      wmic /node:%%a /user:%user% /password:%password% computersystem get Model /format:table
      wmic /node:%%a /user:%user% /password:%password% computersystem get totalphysicalmemory /format:table
      wmic /node:%%a /user:%user% /password:%password% cpu get Name /format:table
      wmic /node:%%a /user:%user% /password:%password% path Win32_VideoController get Name /format:table
      wmic /node:%%a /user:%user% /password:%password% os get Caption /format:table
      wmic /node:%%a /user:%user% /password:%password% csproduct get identifyingnumber /format:table
      wmic /node:%%a /user:%user% /password:%password% desktopmonitor get screenheight /format:table
      wmic /node:%%a /user:%user% /password:%password% desktopmonitor get screenwidth /format:table
  
    )&gt;&gt;a.csv
  </code></pre>
  
  <p>but the output is a bit weird it seperates with "enter" any idea how to comma separate?</p>