路径问题
各位大侠,如何在VFP的程序中判断某一目录是否存在? 问题点数:20、回复次数:1Top
1 楼nononono(null,null)回复于 2001-04-13 00:12:00 得分 20
DIRECTORY( ) Function
Returns true (.T.) if the specified directory is found on disk.
Syntax
DIRECTORY(cDirectoryName)
Returns
Logical
Arguments
cDirectoryName
Specifies the name of the directory to locate. If you do not include an absolute path for the directory you specify, Visual FoxPro searches for the directory relative to the Visual FoxPro default directory.
Remarks
The Visual FoxPro default directory is specified with SET DEFAULT.
Top




