Batch file show all folders in directory and enters into user's selected folder

Report
Posts
2
Registration date
Friday March 8, 2019
Status
Member
Last seen
March 8, 2019
-
ac3mark
Posts
13029
Registration date
Monday June 3, 2013
Status
Member
Last seen
October 11, 2019
-
Hello ,

I am searching for a batch file that shows all folders in a current directory and takes user input to enter into a particular folder, this has to happen until the user finds his specific folder.
Please help me to kick off from my boring job with this script.
Where as this https://ccm.net/forum/affich-16973-open-a-file-with-spaces-from-batch-file
script helps me some extent but after 2nd selection it not working.

1 reply

Posts
13029
Registration date
Monday June 3, 2013
Status
Member
Last seen
October 11, 2019
1,642
When you say take input, do you mean a new folder path, or a password of some sort?
Somnath_2019
Posts
2
Registration date
Friday March 8, 2019
Status
Member
Last seen
March 8, 2019

Hi ac3mark,
I mean the new path.
ac3mark
Posts
13029
Registration date
Monday June 3, 2013
Status
Member
Last seen
October 11, 2019
1,642
So the batch crawls a directory tree, and prompts to create a new folder each time? if this is intended, what will happen is because of how batch file do direcories, it will never stop because it will crawl into the newly created folder, and prompt.