title: How to create bat file for python file and allow another person to open it from their computer?
body: <p>I'm trying to convert my python code into bat file. </p>
  
  <p>I used the following guide: <a href="https://datatofish.com/batch-python-script/" rel="nofollow noreferrer">https://datatofish.com/batch-python-script/</a> but the problem it relies on pathes from my own computer, and when i sent it to someone else he wasn't able to run it.</p>
  
  <p>this is what i put in my txt file:</p>
  
  <pre><code>"C:\Users\Adi Portal\AppData\Local\Programs\Python\Python37\python.exe" "C:\Users\Adi Portal\PycharmProjects\War_Management_Project\CompanyCommander.py"
  pause
  </code></pre>
  
  <p>I would like to know what should i change in the txt file so other people can run it in their computer.</p>