Fixes: In order to determine if a particular directory exists, use the FILE-INFO handle.
For example, the code:
For example, the code:
/* Set the directory name in question */ FILE-INFO:FILE-NAME = "dirname". /* display the attributes of "dirname" */ MESSAGE FILE-INFO:FILE-TYPE VIEW-AS ALERT-BOX.
will display 'D' if the directory exists and a '?' if it does not exist.
如果存在的目录则显示"DRW" , 如果存在文件"FRW",假如是不存在的文件和目录则为? RW应该为可读写.
[@more@]来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/443058/viewspace-925504/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/443058/viewspace-925504/