title: Import all schtasks .xml files inside the current directory via batch
body: <p>I know it's possible to import multiple tasks like this:</p>
  
  <pre><code>schtasks.exe /create /TN "Task 1 Name" /XML "Full_Path_of_Backup_XML_File"
  schtasks.exe /create /TN "Task 2 Name" /XML "Full_Path_of_Backup_XML_File"
  schtasks.exe /create /TN "Task 3 Name" /XML "Full_Path_of_Backup_XML_File"
  </code></pre>
  
  <p>But I'd prefer a more dynamic way to import all schtasks .xml files inside the current directory. Much like <a href="https://stackoverflow.com/questions/10952703/executing-all-the-reg-files-from-batch-file">this</a> batch here (.xml instead of .reg):</p>
  
  <pre><code>rem @echo off
  cls
  SET folder=%~dp0
  for %%i in ("%folder%*.reg") do (regedit /s "%%i")
  echo done
  pause
  EXIT
  </code></pre>
  
  <p>Can someone guide me to the right direction? :)</p>