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

Posts
2
Registration date
Friday March 8, 2019
Status
Member
Last seen
March 8, 2019
- - Latest reply: ac3mark
Posts
13036
Registration date
Monday June 3, 2013
Status
Moderator
Last seen
October 11, 2019
- Mar 8, 2019 at 02:09 PM
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.
See more 

1 reply

Posts
13036
Registration date
Monday June 3, 2013
Status
Moderator
Last seen
October 11, 2019
1465
0
Thank you
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
13036
Registration date
Monday June 3, 2013
Status
Moderator
Last seen
October 11, 2019
1465 -
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.
Respond to ac3mark