<?xml:namespace prefix="o" ns="urn:schemas-microsoft-com:office:office">?xml:namespace>

FSO一、文件属性:windows0,即普通文件未设置任何属性。

4
代表文件夹或目录。
代表存档文件。

msgbox f.Attributes
函数的作用是显示文件属性
msgbox
二、创建文件:

“文件已存在”
set f=fso.createtextfile(“c:\kk.txt”) 

true
三、复制、移动、删除文件:使用
movefile
方法。例如:
fso.copyfile 
d:\1\kk.txt
如上文说述,

c:\kk.txt
//
fso.deletefile 

1
方法
set ts=fso.opentextfile(
1
写入、

2
readline
全部读取
set ffile=fso.opentextfile(
line=ffile.readline

、常见的指针变量:
atendofstream
。一般用循环检测是否到达文件末尾。例如:
ffile.read(10)

属性:如果已经到了行末尾,这个属性返回

(
(
:在打开一个文件后,行和列指针都被设置为

skip(x)
个字符;

2
-追加的方式来写入
write(x)
字符串;
x
writeblanklines(n) 
个空行
close
读文件后一定要关闭,才能以写的方式打开。<span style="line-height: 150%; font-family: "Times New Roman','serif'; FONT-SIZE: 10pt; mso-fareast-font-family: 'Times New Roman'">