使用此函数返回指定文件路径的路径部分,包括最后一个反斜杠。
filename_path(fname);
String
path = filename_path(working_directory + "Test.ini");
以上代码获取指定文件的路径(作为字符串)。