Basically when it’s only ever a file the […] Button should open to a File Picker Dialog instead of a String that needs to be quoted.
Basically when it’s only ever a folder path the […] Button should open to a Folder Picker Dialog instead of a String that needs to be quoted.
Additionally on Exit of this field the Quoting Logic could be enforced without the user needing to do it. A Simple test that it’s the right pattern for either file/folder and then add quote as needed.