显示Windows"浏览文件夹"对话框. dos_getdir也有能力创建文件夹.
(dos_getdir [title [path [message [T]]]])
title
对话框标题.
path
指定一个存在的目录. 如果指定nil则使用当前目录.
message
可选消息.
T
显示"新建文件夹"按钮.
如果成功, 返回用户选择目录的完整路径.
nil 取消或出错时.
Command: (dos_getdir "Browse for folder" "C:\\Program Files\\AutoCAD 2002\\" "Select a folder to use" T)
"C:\\Program Files\\AutoCAD 2002\\Support\\"