虽然只有2分
mkdir(dirname)
就行了
mkdir(dirname)
就行了
解决方案 »
- dbchat数据图形上的数据怎么显示出来
- 请问用D7的rave访问SQL Server 2005中的表时,怎么才能显示中文字段,谢谢!
- 求扫描IP和MAC地址的程序
- 程序运行连数据库之前,必须先使用网上邻居访问服务器,否则连接不上!
- (ZT) 宫务员,你拿什么中产??
- 树结点没有子节点,如何显示前面的+号,让它看起来好像还有子结点呢
- 求助:如何读写局域网络上另一台机器上的串口?
- 在D5编译过的控件,在D7居然没了那种效果
- 如何写一个dll连接数据库?
- delphi写的程序能在Linux下用吗?也就是Delphi支持跨平台开发吗?
- 请问谁知道delphi pack1的序列号,急用!
- 注意:下载http://yts.my5599.net/soft/i1.htm源代码(一个画图软件),请用下载工具下载:推存用:网络蚂蚁。
if (test[Length(test)]<>'\') then test:=test+'\';
if (not DirectoryExists(test+'new\')) then CreateDir(test+'new\')
if not DirectoryExists(edtDirName.Text) then
begin
if MessageBox(form1.handle,'指定的文件夾不存在. 現在創建?','Confirm',MB_ICONASTERISK+MB_YESNO) = idNo then exit;
if not CreateDir(edtDirName.Text) then
raise Exception.Create('Cannot create '+edtDirName.Text)
else
begin
DirectoryListBox1.Directory := edtDirName.Text;
result := true;
end;
end;