Batch File to list folders and allow user selection
问题 I have searched and searched to find a solution to (what feels like) a unique problem. Many answers here have been quite helpful and have gotten me a long way, but the last bit has me stumped. My batch file needs to open an executable in a folder with a variable name This folder may be in one of two directories This is what I originally had and it works @ECHO OFF SETLOCAL ENABLEEXTENSIONS ENABLEDELAYEDEXPANSION SET DIR1="%USERPROFILE%\AppData\Local\Application Workspace\Profiles" SET DIR2=C: