Configure environment variables to run bat

Sometimes we have to run bat under cmd, and it will be troublesome, so configure the environment variables below to facilitate us to run bat

 

1. For example, we want to run the bat under this path



 

 

 

2. Add a variable to the environment variable, set the key and value




 
 

 

3. Modify the content of the path variable in the environment variable



 

 

4. Then go to cmd to start, use the name of bat as the file to start



 

 

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326893694&siteId=291194637