摘要: 最近因需要对zip文件进行批量的压缩解压,遂想到用Powershell完成,正好可以借此熟悉一下基本用法。 通过自定义function可以很方便的完成我们想到的效果。 1. 解压文件 function Extract-Zip{ param([string]$zipfilename, [string] $destination) if(test-path($zipfilename)) { $she... 阅读全文
posted @ 2011-04-07 17:15 芥末丝张 阅读(2631) 评论(0) 推荐(1) 编辑