title: refer to either path
body: <p>I have a string, which refers to Team Foundation and is being used in a few functions. However, I would like it to check whether that file (TF.exe) is located on Enterprise <code>(const TF: &amp;'static str = &quot;C:/Program Files (x86)/Microsoft Visual Studio/2019/Enterprise/Common7/IDE/CommonExtensions/Microsoft/TeamFoundation/Team Explorer/TF.exe&quot;;)</code> or Professional (.../2019/Professional/...). I've read about solution <a href="https://stackoverflow.com/questions/48053933/how-to-check-if-a-directory-exists-and-create-a-new-one-if-it-doesnt-in-rust">here</a>, however, it is not the best one. Any ideas? Thanks in advance.</p>