2017-04-17 114 views
0
C:\>tree 
'tree' is not recognized as an internal or external command, 
operable program or batch file. 
C:\> 

我嘗試在我的命令行中輸入樹並且它不能識別該命令。我正在運行Windows 10.任何人都知道這是爲什麼?樹命令行不工作

回答

0

您可以嘗試將System32文件夾(例如「C:\ Windows \ System32」)添加到PATH變量中。

0

tree.com駐留在C:\WINDOWS\system32,但您的PATH變量中可能有%SystemRoot%\system32,否則太多將無法工作。 由於擴展名不是.exe,我假定您的PATHEXT環境變量缺失.COM

+0

我的意思是這應該被移到superuser.com。 – thoku