I have this bat file which creates folder structure in given directory path. I just want to somehow replace the path code(set /p fd= "Enter Path: "
) with code that opens a dialogue in which I can select the folder.
Thank you.
@echo off
set /p pr="Enter Project Name: "
set /p fd= "Enter Path: "
MkDir "%fd%\%pr%\"
MkDir "%fd%\%pr%\%pr%_HD\"
MkDir "%fd%\%pr%\%pr%_HD\01_FILE\"
MkDir "%fd%\%pr%\%pr%_HD\02_ASSETS\"
MkDir "%fd%\%pr%\%pr%_HD\03_LOGS\"
MkDir "%fd%\%pr%\%pr%_UHD\"
MkDir "%fd%\%pr%\%pr%_UHD\01_FILE\"
MkDir "%fd%\%pr%\%pr%_UHD\02_ASSETS\"
MkDir "%fd%\%pr%\%pr%_UHD\03_LOGS\"