echo off
#Drive letter jump
%~d0
#The path where the bat file is located jumps
to cd %~dp0
#Tree command execution
tree /f > FileTree.txt
echo off
#Drive letter jump
%~d0
#The path where the bat file is located jumps
to cd %~dp0
#Tree command execution
tree /f > FileTree.txt