1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 07:24:55 +02:00
tldr/pages.zh/windows/path.md
2019-11-02 17:47:23 +00:00

19 lines
364 B
Markdown

# path
> 显示或设置可执行文件的搜索路径.
- 显示当前的路径:
`path`
- 将路径设置为一个或多个以分号分隔的目录:
`path {{目录的路径 1[; 目录的路径 2]}}`
- 将新的目录添加到源路径后:
`path {{目录的路径}};%path%`
- 将命令提示符设置为仅搜索当前目录中的可执行文件:
`path ;`