Note that there's just no way to check if the last portion of a path is a file or a directory just by the name alone. You could try to match for an extension, ...
確定! 回上一頁