set path=d:\qt\tools\mingw1120_64\bin;d:\qt\tools\cmake_64\bin;%path%
时间: 2023-09-03 13:04:19 浏览: 97
set path=d:\qt\tools\mingw1120_64\bin;d:\qt\tools\cmake_64\bin;%path%是一条命令,用于在Windows系统中设置环境变量PATH的值。这条命令将d:\qt\tools\mingw1120_64\bin和d:\qt\tools\cmake_64\bin两个路径添加到了环境变量PATH中,并保留了原有的值。
环境变量PATH是操作系统用来存储可执行程序所在路径的设置。当我们在命令行中输入一个命令时,操作系统会根据环境变量PATH中的路径去查找该命令的可执行文件。所以,将需要的路径添加到环境变量PATH中,可以使得系统在任何位置都能够找到相应的可执行文件。
在这条命令中,d:\qt\tools\mingw1120_64\bin是MinGW的路径,MinGW是一个用于开发Windows应用程序的开源工具集,它提供了一系列的工具和库。而d:\qt\tools\cmake_64\bin,则是CMake的路径,CMake是一个跨平台的开源构建工具,它可以生成各种不同编译器所需的项目文件。
通过将这两个路径添加到环境变量PATH中,我们可以在命令行中使用MinGW的工具和CMake的命令。这样,我们就可以在任何位置轻松运行MinGW和CMake的相关命令,而不用每次都输入完整的路径。
总之,set path=d:\qt\tools\mingw1120_64\bin;d:\qt\tools\cmake_64\bin;%path%命令的作用是将MinGW和CMake的路径添加到环境变量PATH中,以方便在命令行中使用相关工具和命令。
相关推荐
![tar](https://img-home.csdnimg.cn/images/20210720083646.png)
![tar](https://img-home.csdnimg.cn/images/20210720083646.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![-](https://csdnimg.cn/download_wenku/file_type_column_c1.png)
![tar](https://img-home.csdnimg.cn/images/20210720083646.png)
![rar](https://img-home.csdnimg.cn/images/20210720083606.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![7z](https://img-home.csdnimg.cn/images/20210720083312.png)
![rar](https://img-home.csdnimg.cn/images/20210720083606.png)
![rar](https://img-home.csdnimg.cn/images/20210720083606.png)
![7z](https://img-home.csdnimg.cn/images/20210720083312.png)
![rar](https://img-home.csdnimg.cn/images/20210720083606.png)
![docx](https://img-home.csdnimg.cn/images/20210720083331.png)
![docx](https://img-home.csdnimg.cn/images/20210720083331.png)
![7z](https://img-home.csdnimg.cn/images/20210720083312.png)