我正在尝试使用tree命令列出一个文件系统,但它添加了额外的信息,例如当前目录和正在列出的目录。
我试过查看树属性,但似乎找不到任何有用的东西。
rem Asks for user input
set /p COMMAND=What would you like to do? :
rem Locates the command specified by the user
goto %COMMAND%
:settings
echo.
rem Clarifies that the action has been completed
echo Successfully opened settings panel
echo.
rem Shows a graphical tree of the specified file structure
tree "%CD%\settings\"
pause
我只期待:
├───accounts
├───apps
├───devices
├───language
├───network
├───personalization
├───privacy
├───security
├───system
├───time
└───update
但我得到的却是:
Folder PATH listing
Volume serial number is 0000C2A7 06D5:17B1
C:\USERS\NOAH HERRON\DESKTOP\SYSTEM MANAGEMENT\SETTINGS
├───accounts
├───apps
├───devices
├───language
├───network
├───personalization
├───privacy
├───security
├───system
├───time
└───update
https://stackoverflow.com/questions/54030863
复制相似问题