用OpenFileDialog 取得文件名后 分别取出目录名和文件名 dim filename as string = openfiledialog.filenamedim fileinfo as new FileInfo(filename)dim filepath as string = fileinfo.DirectoryNamedim name as string = fileinfo.name string 2024-01-06 42 点赞 0 评论 63 浏览