传奇广告查询第一站 同步54.com

按键精灵php上传文件,按键精灵脚本实例定时任务目录
原创 于2026-01-05 18:07:00发布
10 阅读
0
0

->SetobjFSO=CreateObject("Scripting.FileSystemObject")

SetobjFile=objFSO.OpenTextFile("d:\1\0.txt",1)

setWshShell=WScript.CreateObject("WScript.Shell")

strFolder="d:\1"

DoUntilobjFile.AtEndOfStream

strLine=objFile.ReadLine

filename=strLine

SetobjFile=objFSO.GetFile(filename)

setoShellLink=WshShell.CreateShortcut(strFolder&objFSO.GetBaseName(filename)&".lnk")

oShellLink.TargetPath=objFile

oShellLink.WindowStyle=1

oShellLink.WorkingDirectory=objFSO.GetParentFolderName(filename)

oShellLink.Save

Loop

objFile.Close

这个只传递一次就完了61d3097b0dbea422a80810532b0ee593.png

onerrorresumenext

DimkeyWord,DirTotal,TimeSpend,FileTotal,Fso,outFile,txtResult,txtPath,sPath

ConstMY_COMPUTER=&H11&

ConstWINDOW_HANDLE=0

ConstOPTIONS=0

SetobjShell=CreateObject("Shell.Application")

SetobjFolder=objShell.Namespace(My_Computer)

SetobjFolderItem=objFolder.Self

strPath=objFolderItem.Path

SetobjFolder=objShell.BrowseForFolder(WINDOW_HANDLE,"选择你要搜索的文件夹:",OPTIONS,strPath)

IfobjFolderIsNothingThen

msgbox"您没有选择任何有效目录!"

wscript.quit

else

SetobjFolderItem=objFolder.Self

sPath=objFolderItem.Path

txtpath=sPath

SetFso=wscript.CreateObject("scripting.filesystemobject")

FileTotal=0

DirTotal=0

'sPath=left(Wscript.ScriptFullName,len(Wscript.ScriptFullName)-len(Wscript.ScriptName))

'txtPath=trim(inputbox("你选的目录是"&sPath,"文件搜索",sPath))

keyWord=LCase(inputbox("请输入搜索

管理员
0
0
0
分享
上一篇: java 写传奇游戏吗,文字版传奇游戏
下一篇: 996传奇三端引擎--实战-05-商城数据结构设计+xls转lua脚本
评论
历史记录
回顶部
浏览时间 游戏名称 游戏IP 开区网址
注册GM1论坛账号
  • 上传头像
注册

已有账号,

微信扫码登录
重置密码
重置密码

注册

绑定关联手机号
关联手机号