title: How to set a PATH to a batch file in windows
body: <p>In windows, I have two .bat files, say dir_a/a.bat, and dir_b/b.bat.</p>
  
  <p>What I want is that after executing a.bat, I will be able to call b.bat. My approach now is to set a PATH to dir_b, so in a terminal that executed a.bat, I can just call b.bat and will be able to execute b.bat. Yet putting "set PATH=dir_b;%PATH%" in a.bat is not working. What did I do wrong?</p>