I have a bat file to run some Python code similar to this:
@echo off
set /P State= Select State:
set /P Year= Select Year:
"C:\Users\MYNUMBER\OneDrive - Company\filepath\python.exe" "C:\Users\MYNUMBER\OneDrive - Company\filepath\tst.py" %State% %Year%
pause
I want different people at my organization to be able to run this file without any issue, but currently the path specifies my User number (called MYNUMBER).
What is the best way to make this bat file runnable for anyone in the company?
%USERNAME%
?MYNUMBER
with%USERNAME%