上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 38 下一页
摘要: intWindowStyleDescription0隐藏窗口并激活其他窗口。1激活并展示一个窗口,若此窗口是最小化或最大化,系统将恢复其为原始大小和位置。应用程序应该在第一次展示窗口时用这个标志。2激活并最小化展示窗口。3激活并最大化展示窗口。4以最近的尺寸... 阅读全文
posted @ 2019-01-02 15:02 xuejianbest 阅读(745) 评论(0) 推荐(0) 编辑
摘要: 一个本地的windows shell对象,可以执行本地程序。文档:https://docs.microsoft.com/en-us/previous-versions/windows/internet-explorer/ie-developer/window... 阅读全文
posted @ 2019-01-02 15:02 xuejianbest 阅读(273) 评论(0) 推荐(0) 编辑
摘要: 代表快捷方式的对象。获取:set shortcut = WshShell.CreateShortcut("D:\abc.lnk")shortcut.targetPath("D:\abc.txt") set shortcut = WshShell.Create... 阅读全文
posted @ 2019-01-02 15:02 xuejianbest 阅读(308) 评论(0) 推荐(0) 编辑
摘要: wscript提供Windows Script Host对象模型的根对象,为静态的。有以下属性和方法:属性:以下四个属性返回对象Wscript.ArgumentsWscript.StdErrWscript.StdInWscript.StdOutset arg... 阅读全文
posted @ 2019-01-02 15:02 xuejianbest 阅读(296) 评论(0) 推荐(0) 编辑
摘要: 命令行命令文档:https://technet.microsoft.com/en-us/library/cc771320.aspxvbs文档:https://msdn.microsoft.com/en-us/library/d5fk67ky(v=vs.84)... 阅读全文
posted @ 2019-01-02 15:02 xuejianbest 阅读(184) 评论(0) 推荐(0) 编辑
摘要: 连续执行命令用&&符号连接,如:e: && cd e:\abc && dir用vbs打开cmd并执行指定指令:Set obj = createobject("wscript.shell")obj.run "cmd /k e: && cd E:\aaa && ... 阅读全文
posted @ 2019-01-02 15:01 xuejianbest 阅读(11643) 评论(0) 推荐(0) 编辑
摘要: 写excel demo:Set app = wscript.createobject("Excel.application")app.visible=TrueSet workbook = app.workbooks.addSet sheet = workbo... 阅读全文
posted @ 2019-01-02 15:01 xuejianbest 阅读(222) 评论(0) 推荐(0) 编辑
摘要: 不区分大小写行注释用'一行一个语句,行尾什么都不能加。代码断行时行尾用" _"(空格下划线,不包括双引号)连接。如果vbs脚本文件中有中文,要把vbs文件保存为ANSI编码再运行,若保存为UTF-8编码中文会乱码。基本的提示框dim xx = MsgBox(... 阅读全文
posted @ 2019-01-02 15:01 xuejianbest 阅读(594) 评论(0) 推荐(0) 编辑
摘要: 日期和字符串转换:select * from tb_name where TIMECOL >= to_date('2018-01-01 00:00:00', 'yyyy-MM-dd HH24:mi:ss') and TIMECOL < to_date('20... 阅读全文
posted @ 2019-01-02 14:14 xuejianbest 阅读(356) 评论(0) 推荐(0) 编辑
摘要: 查询n条数据:select * from tb_name where rownum < 2; 阅读全文
posted @ 2019-01-02 14:13 xuejianbest 阅读(239) 评论(0) 推荐(0) 编辑
上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 38 下一页