I know how to do this with batch files, you add the path to the system variable but I cannot seem to find the answer to my question anywhere. Anyone knows?
example: I