|That did it. Thanks!|
Now, I'd like to be able to put that into a sub-routine inside my batch file so that I can use for other input that is formatted the same.
call :promptUser dirs Directory
:promptUser list string
set /p value="Enter %string% (blank when done): "
if "%value%" equ "" goto :EOF
My problem is how to return the value of
list so that it populates
dirs from where it was called.