//<>==========================定义变量
UserVar File_Path=0 "文件路径"
UserVar File_Name=0 "文件名称"
//<>===========================变量赋值
File_Path = "F:\沉淀目录\"
File_Name = "【6-WEB开发】.txt"
Is_File = Plugin.File.ExistFile(File_Path & File_Name)
If Is_File Then
MessageBox "目标目录存在该文件"
EndScript
Else
set fso=CreateObject("Scripting.FileSystemObject")
set myfile=fso.createtextfile(File_Path & File_Name)
End If
EndScript