title: System cannot find the patch specified
body: <p>I have a bat file that will execute every 10 minutes. On the cmd I see "The system cannot find the path specified".</p>
  
  <p>Any ideas why?</p>
  
  <p>Below is the code:</p>
  
  <pre><code>@ECHO OFF
  
  REM SET DATA, TIME AND PATH
  
  SET DPATH="C:\keepalive\logs\"
  SET DATES=%DATE:~7,2%_%DATE:~4,2%_%DATE:~10,4%
  SET TIMES=%TIME:~0,2%_%TIME:~3,2%_%TIME:~6,2%
  SET DAT=%DPATH%%DATES%.log
  
  REM PRINTING USERNAME
  ECHO USER:%USERNAME% 1&gt;&gt;%DAT% 2&gt;&amp;1
  
  ECHO %DATES%%TIMES% 1&gt;&gt;%DAT% 2&gt;&amp;1
  ECHO ACCESS WEBSITE 1&gt;&gt;%DAT% 2&gt;&amp;1
  START iexplore http://example.com/sitecore/service/keepalive.aspx
  
  ECHO WAITING FOR WEBSITE 1&gt;&gt;%DAT% 2&gt;&amp;1
  PING 1.1.1.1 -n 1 -w 20000 &gt;NUL
  
  ECHO CLOSING WEBSITE 1&gt;&gt;%DAT% 2&gt;&amp;1
  taskkill /F /T /IM iexplore.exe
  
  EXIT
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/pAf45.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/pAf45.png" alt="enter image description here"></a>
  <a href="https://i.stack.imgur.com/8EU5v.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/8EU5v.png" alt="enter image description here"></a></p>