MSH (codename Monad)

关注monad 关注脚本

导航

2005年11月2日

下载文件的脚本

摘要: 下午在http://www.peterprovost.org/看到一个post,是一个download file的script$webclient=new-objectSystem.Net.WebClient$start=$args[0].LastIndexOf("/")+1$len=$args[0].LastIndexOf("?")-$startif($len-lt0){$len=$args[0... 阅读全文

posted @ 2005-11-02 18:38 hayate 阅读(648) 评论(3) 推荐(0) 编辑

哈皮一下

摘要: 阅读全文

posted @ 2005-11-02 15:21 hayate 阅读(355) 评论(1) 推荐(0) 编辑

一个转换图片格式的script

摘要: 也是在monad的 team blog上看到的原code 如下#Convertonegraphicimagetoanotherparam($inFile,$type="gif",$outFile,[switch]$force)##Firstchecktoseeifourinputfileexists$iFile=(resolve-path$inFile-easilentlycontinue).pa... 阅读全文

posted @ 2005-11-02 14:40 hayate 阅读(409) 评论(0) 推荐(0) 编辑