ok so from the title you might have an idea as to what im trying to accomplish.
What I want to do is [ tree ] and show a list of folders ( hence the tree command ) and then allow me to select a folder by using numbers, the catch is that I need to be able to do so without already knowing the folder's name's
Ex. [ THIS IS WHAT I DONT WANT IT TO DO ]
cd C:\windows
tree
set input=
set /p input=Choose:
if %input%== Folder 1 goto :B
if %input%== Folder 2 goto :C
etc.
So i need it to be able to tree, set each folder as a variable and then allow me to choose that as a number some how?
Please help!