⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 c++ builder 程序设计实用教程 - 第五章 管理文件、目录和驱动器 - 张晋 - 17xie.htm

📁 已经消失的不易找到的C++ builder网络教程总结
💻 HTM
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
<!-- saved from url=(0044)http://www.17xie.com/read.php?bid=303&seq=40 -->
<HTML><HEAD><TITLE>C++ Builder 程序设计实用教程 - 第五章 管理文件、目录和驱动器 - 张晋 - 17xie</TITLE>
<META http-equiv=Content-Type content="text/html; charset=utf-8"><LINK 
href="C++ Builder 程序设计实用教程 - 第五章 管理文件、目录和驱动器 - 张晋 - 17xie.files/17xie.css" 
type=text/css rel=stylesheet><LINK 
href="C++ Builder 程序设计实用教程 - 第五章 管理文件、目录和驱动器 - 张晋 - 17xie.files/read.css" 
type=text/css rel=stylesheet>
<SCRIPT src="C++ Builder 程序设计实用教程 - 第五章 管理文件、目录和驱动器 - 张晋 - 17xie.files/core.js" 
type=text/javascript></SCRIPT>

<SCRIPT 
src="C++ Builder 程序设计实用教程 - 第五章 管理文件、目录和驱动器 - 张晋 - 17xie.files/iframe.js" 
type=text/javascript></SCRIPT>

<SCRIPT 
src="C++ Builder 程序设计实用教程 - 第五章 管理文件、目录和驱动器 - 张晋 - 17xie.files/dialog.js" 
type=text/javascript></SCRIPT>

<SCRIPT src="C++ Builder 程序设计实用教程 - 第五章 管理文件、目录和驱动器 - 张晋 - 17xie.files/ajax.js" 
type=text/javascript></SCRIPT>

<SCRIPT 
src="C++ Builder 程序设计实用教程 - 第五章 管理文件、目录和驱动器 - 张晋 - 17xie.files/cookie.js" 
type=text/javascript></SCRIPT>

<META content="MSHTML 6.00.2900.3020" name=GENERATOR></HEAD>
<BODY>
<DIV id=m-body>
<DIV id=read-top>
<DIV style="FLOAT: left"><A href="http://www.17xie.com/" target=_blank><IMG 
src="C++ Builder 程序设计实用教程 - 第五章 管理文件、目录和驱动器 - 张晋 - 17xie.files/booklogo.gif"></A></DIV>
<DIV id=read-menu><NOBR><A 
onclick="APIframe.open('快速登录','/m/user/poplogin.php',400,160)" 
href="javascript:void(0)">登录</A> <A 
onclick="APIframe.open('17xie-快速注册','/m/user/reg.php',480,460)" 
href="javascript:void(0)">注册</A> | <A href="http://www.17xie.com/" 
target=_blank>首页</A> <A href="http://www.17xie.com/bbs/index.php?ishow=y" 
target=_blank>论坛</A> <A href="http://www.17xie.com/user.php" 
target=_blank>会员中心</A> <A href="http://www.17xie.com/help/" 
target=_blank>帮助</A></NOBR></DIV></DIV>
<DIV id=read-title>
<DIV 
style="PADDING-RIGHT: 0px; PADDING-LEFT: 0px; FLOAT: left; PADDING-BOTTOM: 8px; PADDING-TOP: 8px"><A 
href="http://www.17xie.com/" target=_blank>17xie</A> &gt; <A 
href="http://www.17xie.com/book.php?bid=303">C++ Builder 程序设计实用教程</A> &gt; 第五章 
管理文件、目录和驱动器</DIV>
<DIV 
style="PADDING-RIGHT: 0px; PADDING-LEFT: 0px; FLOAT: right; PADDING-BOTTOM: 0px; PADDING-TOP: 4px"><INPUT class=button-red8 onclick="window.location.href='/m/book/write.php?pid=5545'" type=button value=点击编辑本页></DIV></DIV>
<DIV id=read-mpage>
<DIV 
style="PADDING-RIGHT: 0px; PADDING-LEFT: 0px; FLOAT: left; PADDING-BOTTOM: 8px; PADDING-TOP: 8px">背景: 
<SPAN class=chcolor style="BACKGROUND-COLOR: #eeeeff" 
onclick="chcolor('#eeeeff')">&nbsp;&nbsp;</SPAN> <SPAN class=chcolor 
style="BACKGROUND-COLOR: #ffeeee" 
onclick="chcolor('#ffeeee')">&nbsp;&nbsp;</SPAN> <SPAN class=chcolor 
style="BACKGROUND-COLOR: #eeffee" 
onclick="chcolor('#eeffee')">&nbsp;&nbsp;</SPAN> <SPAN class=chcolor 
style="BACKGROUND-COLOR: #ffffee" 
onclick="chcolor('#ffffee')">&nbsp;&nbsp;</SPAN> <SPAN class=chcolor 
style="BACKGROUND-COLOR: #eeeeee" 
onclick="chcolor('#eeeeee')">&nbsp;&nbsp;</SPAN> <SPAN class=chcolor 
style="BACKGROUND-COLOR: #ffffff" 
onclick="chcolor('#ffffff')">&nbsp;&nbsp;</SPAN> </DIV>
<DIV 
style="PADDING-RIGHT: 0px; PADDING-LEFT: 0px; FLOAT: right; PADDING-BOTTOM: 0px; PADDING-TOP: 3px">
<TABLE>
  <TBODY>
  <TR>
    <TD><NOBR><SPAN class=page-nor 
      onclick="window.location.href='/read.php?bid=303&amp;seq=1'">|&lt;</SPAN> 
      <SPAN class=page-nor 
      onclick="window.location.href='/read.php?bid=303&amp;seq=39'">上一页</SPAN> 
      <SPAN class=page-nor 
      onclick="window.location.href='/read.php?bid=303&amp;seq=37'">37</SPAN> 
      <SPAN class=page-nor 
      onclick="window.location.href='/read.php?bid=303&amp;seq=38'">38</SPAN> 
      <SPAN class=page-nor 
      onclick="window.location.href='/read.php?bid=303&amp;seq=39'">39</SPAN> 
      <SPAN class=page-here 
      onclick="window.location.href='/read.php?bid=303&amp;seq=40'">40</SPAN> 
      <SPAN class=page-nor 
      onclick="window.location.href='/read.php?bid=303&amp;seq=41'">41</SPAN> 
      <SPAN class=page-nor 
      onclick="window.location.href='/read.php?bid=303&amp;seq=42'">42</SPAN> 
      <SPAN class=page-nor 
      onclick="window.location.href='/read.php?bid=303&amp;seq=43'">43</SPAN> 
      <SPAN class=page-nor 
      onclick="window.location.href='/read.php?bid=303&amp;seq=41'">下一页</SPAN> 
      <SPAN class=page-nor 
      onclick="window.location.href='/read.php?bid=303&amp;seq=105'">&gt;|</SPAN></NOBR>.</TD>
    <TD><INPUT class=input-text 
      onkeydown='if(window.event.keyCode==13)window.location.href="/read.php?bid=303&amp;seq="+this.value' 
      style="WIDTH: 25px"></TD>
    <TD style="PADDING-TOP: 2px">[共105页]</TD></TR></TBODY></TABLE></DIV></DIV>
<DIV id=read-conts style="BACKGROUND-COLOR: #ffffff"><SPAN 
style="FONT-SIZE: 12px">本页字数:434&nbsp;&nbsp;&nbsp;&nbsp;最后更新:<NOBR>12天以前</NOBR> 
<NOBR>[11-30 11:59]</NOBR> 由 <A onclick='$showu(1271,"张晋")' 
href="javascript:void(0)">张晋</A> 编辑&nbsp;&nbsp;&nbsp;&nbsp;<A class=aline 
style="COLOR: red" href="http://www.17xie.com/m/user/inviter_reg.php" 
target=_blank>注册17xie 一起来写书 实现您的出书梦想!</A></SPAN> 
<HR>

<CENTER>
<DIV style="WIDTH: 547px; TEXT-ALIGN: left">
<H1 style="MARGIN: 30pt 0cm"><A name=_Toc502915279></A><A 
name=_Toc392382657><SPAN style="mso-bookmark: _Toc502915279"><FONT size=5><SPAN 
style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">第五章</SPAN><FONT 
face="Times New Roman"> <SPAN 
style="mso-spacerun: yes">&nbsp;</SPAN></FONT></FONT></SPAN></A><SPAN 
style="mso-bookmark: _Toc392382657"><SPAN 
style="mso-bookmark: _Toc502915279"><SPAN 
style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'"><FONT 
size=5>管理文件、目录和驱动器</FONT></SPAN></SPAN></SPAN></H1>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN 
style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">在</SPAN><SPAN 
lang=EN-US><FONT face="Times New Roman">Windows</FONT></SPAN><SPAN 
style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">的操作环境中,文件是一个非常重要的概念,所谓的文件是指存放在外部存储介质上的数据和程序等。</SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN 
style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">为了方便用户存取和操作的方便,在</SPAN><SPAN 
lang=EN-US><FONT face="Times New Roman">CBuilder 5</FONT></SPAN><SPAN 
style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">中带有强大的文件管理功能,在其中用户可以通过调用文件处理函数来对文件和目录进行各种各样的处理和操作,如创建目录,打开和删除文件等操作。</SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN 
style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">在本章中,将讨论以下几个问题:</SPAN></P>
<P class=MsoNormal 
style="MARGIN: 0cm 0cm 0pt 42.5pt; TEXT-INDENT: -21.25pt; tab-stops: list 21.25pt; mso-list: l0 level1 lfo1"><SPAN 
lang=EN-US 
style="FONT-FAMILY: Wingdings; mso-fareast-font-family: Wingdings; mso-bidi-font-family: Wingdings"><SPAN 
style="mso-list: Ignore">n<SPAN 
style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
</SPAN></SPAN></SPAN><SPAN 
style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">利用文件类的函数来进行文件内部的操作</SPAN></P>
<P class=MsoNormal 
style="MARGIN: 0cm 0cm 0pt 42.5pt; TEXT-INDENT: -21.25pt; tab-stops: list 21.25pt; mso-list: l0 level1 lfo1"><SPAN 
lang=EN-US 
style="FONT-FAMILY: Wingdings; mso-fareast-font-family: Wingdings; mso-bidi-font-family: Wingdings"><SPAN 
style="mso-list: Ignore">n<SPAN 
style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
</SPAN></SPAN></SPAN><SPAN 
style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">如何使用常用的文件类控件</SPAN></P>
<P class=MsoNormal 
style="MARGIN: 0cm 0cm 0pt 42.5pt; TEXT-INDENT: -21.25pt; tab-stops: list 21.25pt; mso-list: l0 level1 lfo1"><SPAN 
lang=EN-US 
style="FONT-FAMILY: Wingdings; mso-fareast-font-family: Wingdings; mso-bidi-font-family: Wingdings"><SPAN 
style="mso-list: Ignore">n<SPAN 
style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
</SPAN></SPAN></SPAN><SPAN 
style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">如何利用文件类控件来设计文件系统的界面</SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN 
style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">下面首先来介绍一下文件类函数(目录函数、驱动器函数和文件函数)的使用方法。</SPAN></P>
<P></P></DIV></CENTER>
<HR>
<SPAN id=theurl 
style="FONT-SIZE: 12px">本页地址:http://www.17xie.com/read.php?pid=5545</SPAN> 
</DIV>
<DIV id=read-title style="BORDER-TOP: white 1px solid">
<DIV 
style="PADDING-RIGHT: 0px; PADDING-LEFT: 0px; FLOAT: right; PADDING-BOTTOM: 8px; PADDING-TOP: 8px">
<TABLE>
  <TBODY>
  <TR>
    <TD><NOBR><SPAN class=page-nor 
      onclick="window.location.href='/read.php?bid=303&amp;seq=1'">|&lt;</SPAN> 
      <SPAN class=page-nor 
      onclick="window.location.href='/read.php?bid=303&amp;seq=39'">上一页</SPAN> 
      <SPAN class=page-nor 
      onclick="window.location.href='/read.php?bid=303&amp;seq=37'">37</SPAN> 
      <SPAN class=page-nor 
      onclick="window.location.href='/read.php?bid=303&amp;seq=38'">38</SPAN> 
      <SPAN class=page-nor 
      onclick="window.location.href='/read.php?bid=303&amp;seq=39'">39</SPAN> 
      <SPAN class=page-here 
      onclick="window.location.href='/read.php?bid=303&amp;seq=40'">40</SPAN> 
      <SPAN class=page-nor 
      onclick="window.location.href='/read.php?bid=303&amp;seq=41'">41</SPAN> 
      <SPAN class=page-nor 
      onclick="window.location.href='/read.php?bid=303&amp;seq=42'">42</SPAN> 
      <SPAN class=page-nor 
      onclick="window.location.href='/read.php?bid=303&amp;seq=43'">43</SPAN> 
      <SPAN class=page-nor 
      onclick="window.location.href='/read.php?bid=303&amp;seq=41'">下一页</SPAN> 
      <SPAN class=page-nor 
      onclick="window.location.href='/read.php?bid=303&amp;seq=105'">&gt;|</SPAN></NOBR>.</TD>
    <TD><INPUT class=input-text 
      onkeydown='if(window.event.keyCode==13)window.location.href="/read.php?bid=303&amp;seq="+this.value' 
      style="WIDTH: 25px"></TD>
    <TD style="PADDING-TOP: 2px">[共105页]</TD></TR></TBODY></TABLE></DIV></DIV>
<DIV id=read-mpage>
<DIV 
style="PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 8px; PADDING-TOP: 8px; TEXT-ALIGN: center">[关注本页] 
[在本页中加入书签] [收藏本书] [推荐本书] </DIV></DIV><!-- foot -->
<DIV id=xie_bottom><A class=xie1 href="http://www.17xie.com/help/help-wzjs.html" 
target=_blank>关于我们</A> <SPAN class=xiefont1>| </SPAN><A class=xie1 
href="http://www.17xie.com/help/index.html" target=_blank>帮助中心</A> <SPAN 
class=xiefont1>| </SPAN><A class=xie1 
href="http://www.17xie.com/help/help-wzjs.html#m6" target=_blank>版权声明</A> <SPAN 
class=xiefont1>| </SPAN><A class=xie1 
href="http://www.17xie.com/help/help-wzjs.html#m7" target=_blank>免责声明</A> <SPAN 
class=xiefont1>| </SPAN><A class=xie1 
href="http://www.17xie.com/help/help-wzjs.html#m8" target=_blank>联系我们</A> <SPAN 
class=xiefont1>| </SPAN><A class=xie1 
href="http://www.17xie.com/help/help-wzjs.html#m9" target=_blank>友情链接</A> <SPAN 
class=xiefont1>| </SPAN><A class=xie1 
href="http://www.17xie.com/bbs/show_bbs.php?fid=130"><FONT 
color=red>提交意见</FONT></A> <BR>Copyright <SPAN 
style="FONT-FAMILY: arial">©</SPAN> 2007 17xie.com 互联网协同写书平台<BR>
<SCRIPT language=javascript 
src="C++ Builder 程序设计实用教程 - 第五章 管理文件、目录和驱动器 - 张晋 - 17xie.files/1261343.js" 
type=text/javascript></SCRIPT>
<NOSCRIPT><A href="http://www.51.la/?1261343" target=_blank><IMG 
style="BORDER-TOP-STYLE: none; BORDER-RIGHT-STYLE: none; BORDER-LEFT-STYLE: none; BORDER-BOTTOM-STYLE: none" 
alt=我要啦免费统计 
src="C++ Builder 程序设计实用教程 - 第五章 管理文件、目录和驱动器 - 张晋 - 17xie.files/go.htm"></A></NOSCRIPT> 
</DIV></DIV>
<SCRIPT>			setInterval("ajax_sr('/live.php','')",600000);			function chcolor(sz)			{				$('read-conts').style.backgroundColor = sz;			}						function clcp()			{				var rng = document.body.createTextRange();		        rng.moveToElementText(document.getElementById("theurl"));		        rng.execCommand("Copy");			}			document.body.onkeydown = clcp;			document.body.onmouseout = clcp;			document.body.onclick = clcp;					</SCRIPT>
</BODY></HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -