1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 11:44:54 +02:00
tldr/pages.zh/windows/path.md
2019-03-12 11:56:23 +00:00

19 lines
361 B
Markdown

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