Batch files usefull commands

Create file with .bat (file extension)

now here are some things thats will helps in gaming

select a folder where file is holding
for %%a in (.) do set currentfolder=%%~na
%currentfolder% <-- this will give you a name

select a name of a file
%~n0 <-- this will return a file name

set priority of process
wmic process where name="FILENAME.exe" CALL setpriority "normal"

priority: low, normal, high.

Pause batch program
you can stop program to check if everythinks goes in your mind ;)

kill process
taskkill processname.exe