title: How can i identify the route from my .bat file
body: <p>So, i need to know how can i identify my test.bat file inside my project, what i'm trying to do is this:</p>
  
  <pre><code>&lt;?php
  
  $v1 = "test one"; //this is domain
  $v2 = "test two"; 
  
  $bat_file = "folder/test.bat ".escapeshellarg($v1)." ".escapeshellarg($v2);
  $output = null;
  system($bat_file, $output);
  
  ?&gt;
  </code></pre>
  
  <p>bat file:</p>
  
  <pre><code>@echo off
  
  set test1=%1
  echo example one %test1%
  
  set test2=%2
  echo example two %test2%
  </code></pre>
  
  <p>i need to set a directory to find my test.bat file, how can i do this? i know if i remove the "/folder" i can do what i want, but what if i need to put a directory to my .bat file? how i'm supposed to do this?</p>