I have an application that installs an add-on into an existing directory but also needs to place one file into a directory with a random name. This means I can't hard code the directory but need to find it and then potentially ask the user to pick which one they want to use because there may be more than one.
e.g.
95% of the time there will be just one directory under \account so how can I read the directories under \account and then use that as an installdir for this one file? If there are two directories, how would I prompt the user to pick on of them
installdir\
interface\
add-on-goes-here\
account\
abc\
single-file-goes-here
xyz\
or-maybe-here