如何生成一个文件
如何在C盘下生成一个名为1.dat的文件,以便用open c:\1.dat append as #1 …语句操作?
Private Sub Command1_Click()
strBat = "cmd" ‘写入内容
Open "c:\runbat.bat" For Output As #1
Print #1, strBat
Close #1
End Sub