title: Create a task in task scheduler in VB script for windows XP
body: <p>Found a visual basic script to create a task in task scheduler. Yet it won't work even though it says it is running. I assume this is because it usses a different username. If I create a task in task scheduler manually it needs my password and uses different username. On top of this I can't seem to find a way to setup the date also instead of time only:</p>
  
  <pre><code>Set ObjShell = CreateObject("WScript.Shell")
  objShell.run "AT 10:00 C:\Test.txt"
  Set ObjShell = nothing
  </code></pre>
  
  <p>I would like to have the most shortest and simple code if possible. I'm not an expert in VB so bear with me please.</p>