摘要: bat脚本@echo off if "%1" == "h" goto begin mshta vbscript:createobject("wscript.shell").run("%~nx0 h",0)(window.close)&&exit :begin node myserver.js:end... 阅读全文
posted @ 2014-09-15 23:38 hellowoody 阅读(374) 评论(0) 推荐(0)
摘要: 前提:配置好简单的nodejs和bootstrap的服务,让用户可以通过localhost:8001和localhost:8001/index.html都可以访问 1 fs.readFile("."+request.url,'utf-8',function(err,data)... 阅读全文
posted @ 2014-09-09 00:37 hellowoody 阅读(583) 评论(0) 推荐(0)