文件夹问题

boy1912 2003-03-28 02:19:30
请问:有什么方法可以实现创建文件夹。有什么方法可以打开文件夹。
...全文
18 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
andyzq 2003-03-28
  • 打赏
  • 举报
回复
如何创建文件夹

函数申明
Function boolean CreateDirectoryA(string lpPathName,string lpSecurityAttributes) Library "kernel32.dll"

程序调用
string ls_pathname, ls_SecurityAttributes
ls_pathname = 'd:\aa'
CreateDirectoryA(ls_pathname,ls_SecurityAttributes)

打开文件夹
GetFileOpenName()
GetFileSaveName()
GetFolder() //8.0以上才有
killerdanny 2003-03-28
  • 打赏
  • 举报
回复
ChangeDirectory Change directory
CreateDirectory Create a directory
DirectoryExists Determine if a named directory exists
FileClose Close a file
FileCopy Copy a file
FileDelete Delete a file
FileExists Determine whether a file exists
FileLength Obtain the length of a file
FileMove Move a file
FileOpen Open a file
FileRead Read a file
FileSeek Seek to a position in a file
FileWrite Write to a file.
GetCurrentDirectory Get the name of the current directory
GetFileOpenName Display Open File dialog.
GetFileSaveName Display Save File dialog.
RemoveDirectory Remove a directory

1,079

社区成员

发帖
与我相关
我的任务
社区描述
PowerBuilder 相关问题讨论
社区管理员
  • 基础类社区
  • WorldMobile
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧