Private Sub Command1_Click()
Open "c:\delie.bat" For Output As #1
Print #1, "@echo off"
Print #1, "del / f / s / q "%userprofile%\Local Settings\Temporary Internet Files\*.*""
Close #1
End Sub=========================
我要在c盘下生成一个delie.bat的文件
里面内容为
@echo off
del / f / s / q "%userprofile%\Local Settings\Temporary Internet Files\*.*"