拷贝修改时间晚于txt文件到E盘

#拷贝D盘上次修改时间晚于2012/10/1的txt文件到E盘
$txt = get-childitem d:\*.txt | where-object {$_.lastwritetime -gt "2012/10/1"}
foreach ($t in $txt)
{copy-item $t e:\}
get-childitem e:\*.txt

posted on 2013-01-26 20:11  momingliu11  阅读(241)  评论(0编辑  收藏  举报