title: How to send an url request using VBS or BAT script
body: <p>I would like to send an automatic url request, using a VBS or a BATCH file.
  The request will have this structure : <a href="http://myServeurIP/Test/?name=ezioauditore" rel="nofollow noreferrer">http://myServeurIP/Test/?name=ezioauditore</a></p>
  
  <p>I found this post, to help me : <a href="https://stackoverflow.com/questions/20782734/open-a-url-without-using-a-browser-from-a-batch-file">Open a URL without using a browser from a batch file</a></p>
  
  <pre><code>@if (@This==@IsBatch) @then
  @echo off
  rem **** batch zone *********************************************************
  
      setlocal enableextensions disabledelayedexpansion
  
      rem Batch file will delegate all the work to the script engine 
      if not "%~1"=="" (
          wscript //E:JScript "%~dpnx0" %1
      )
  
      rem End of batch area. Ensure batch ends execution before reaching
      rem javascript zone
      exit /b
  
  @end
  // **** Javascript zone *****************************************************
  // Instantiate the needed component to make url queries
  var http = WScript.CreateObject('Msxml2.XMLHTTP.6.0');
  
  // Retrieve the url parameter
  var url = WScript.Arguments.Item(0)
  
      // Make the request
  
      http.open("GET", url, false);
      http.send();
  
      // All done. Exit
      WScript.Quit(0);
  </code></pre>
  
  <p>But I don't understand. What is <code>"%~1"==""</code> ?
  I put my URL in <code>http.send(http://myServeurIP/Test/);</code>. Is it correct ?
  Also I have no visibility if it works or not.</p>
  
  <p>Can you help me understand this script ?</p>