Just RUN

A scientist builds in order to learn; an engineer learns in order to build.

随笔分类 -  Scripting

Jscript mainly.
通过程序控制Windows传真发送。
摘要:折腾了半天,搞了两个MODEM,终于。。。 下例仅以Jscript实现,其他版本参考可得。 自己记下来也希望对你有帮助^_^。 注意:    此段代码仅对WinXp有效,Win 2000及Win 98发送方法各不相同;参考:    http://members.optusnet.com.au/~hssandler1/VBScript.ht... 阅读全文

posted @ 2005-01-18 10:34 阅读(3580) 评论(1) 推荐(0)

利用ADSI给IIS创建虚拟目录(VBS)。
摘要:IIS 5.1(Winxp默认那个)和以前版本不支持WMI,所以用ADSI来做。后两个run是用来设置服务器扩展用的。 output "Creating Web Application for IIS://LocalHost/W3SVC/1/ROOT/" & AppName Set DirObj = GetObject("IIS://LocalHost/W3SVC/1/RO... 阅读全文

posted @ 2004-10-14 13:59 阅读(687) 评论(0) 推荐(0)

CSDN论坛里的一些问题真的是,难怪有人不屑一顾。
摘要:http://community.csdn.net/Expert/topic/3446/3446414.xml?temp=.1328546 真不知道CSDN是在教人还是在害人,看看后面的回答就知道了,另附上我的回答。 dim strmsgstrmsg="65.5/65.5/62.5/65.5/61/68.5/68/66.5/65.5/65/65/69/72.5/73/78/80/67/73/7... 阅读全文

posted @ 2004-10-12 10:16 阅读(478) 评论(1) 推荐(0)

得到MAC地址的Shell命令。
摘要:Microsoft Windows XP [Version 5.1.2600](C) Copyright 1985-2001 Microsoft Corp. D:\Documents and Settings\Administrator>%comspec% /c nbtstat -A 192.168.1.22 > c:mac.txt D:\Documents and Settings\Admin... 阅读全文

posted @ 2004-09-21 13:29 阅读(2540) 评论(1) 推荐(0)

HTML Option.
摘要: 阅读全文

posted @ 2004-09-16 17:22 阅读(473) 评论(0) 推荐(0)

Sample of apply method (Jscript).
摘要:// the class function cal() { this.add = function (x, y) { return x + y; } } // the object to apply var ins_tmp = new cal(); // the function function b() { // notice: with... 阅读全文

posted @ 2004-09-09 13:51 阅读(420) 评论(0) 推荐(0)

导航