I made a new path via the Misc->New Path... dialog. Shortly afterward I deleted the directory that path was pointed to. I thought calling PathInfo would put the truth of whether the directory exists in V_flag. It seems to instead put the truth of whether the path exists in Igor. I probably misinterpreted what PathInfo does.
PathInfo returns, via V_flag, the truth that the Igor symbolic path exists. You are correct to use GetFileFolderInfo to test if the folder on disk exists.
You might want to test V_flag after calling PathInfo and before calling GetFileFolderInfo.
You might want to test V_flag after calling PathInfo and before calling GetFileFolderInfo.
October 13, 2011 at 02:18 pm - Permalink
Good point.
October 13, 2011 at 02:30 pm - Permalink