Function DirectoryComplete(dirpath: String) : String
Returns a path as a string
This function makes it easy to manipulate file paths. It makes sure that a directory path is finished with a windows-style directory backslash by adding one if there is not one there.
This is useful if you are taking user input for a folder path and you want to read a file in that folder.
Example: