title: CMD Windows find/search and return absolute path
body: <p>is there a way to return absolute path of a file and or folder by find?</p>
  
  <p>let's say filename.txt in C:\test</p>
  
  <pre><code>set file=filename.txt
  
  dir %file% /s 
  </code></pre>
  
  <p>at now it return c:\test in line 6. but what i want is it return absolute path</p>
  
  <p>c:\test\filename.txt and set it to variabel to be use next time. </p>
  
  <p>thank you</p>