title: Multiple Dos commands through Task scheduler Action without using batch file
body: <p>In task scheduler action(s) I would like to execute following DOS commands without using any batch file. Would it be possible?</p>
  
  <p>/* Store current date and time in a variable */</p>
  
  <pre><code>set TIMESTAMP=%DATE:~0,2%-%DATE:~3,2%-%DATE:~6,4%-%TIME:~0,2%.%TIME:~3,2%.%TIME:~6,2% 
  </code></pre>
  
  <p>/* Create directory */</p>
  
  <pre><code>md "%TIMESTAMP%" 
  </code></pre>
  
  <p>/* Pass above created directory to one of the program */</p>
  
  <pre><code>HTBase.exe /full /logfile=%LOGDIR%\HTBase.log /r /y %APPDIR% %FULLDIR%/"%TIMESTAMP%" &gt;&gt; %LOGDIR%\HTBaseFullBackup.log 
  </code></pre>
  
  <p>Currently it is done through batch file but I would like to execute these command through Task scheduler action(s) without using any batch file. </p>
  
  <p>Regards, 
  Pabitra</p>