古い記事
ランダムジャンプ
新しい記事
Windows PowerShell は最近の Windows でのコマンドライン環境。
デフォルトで入っているし、cmd.exe と比べて何万倍もマシ。
ちょっとしたファイル操作なら Cygwin 入れなくてもこれで十分。
今までスルーしてて少し後悔。

参照サイト:
- Windows PowerShell でのスクリプティング
http://technet.microsoft.com/ja-jp/scriptcenter/dd742419
- PowerShell FAQ
http://newpops.wankuma.com/
- Windows管理者のためのPowerShell
http://powershell.wiki.fc2.com/

UNIX的なコマンド一覧。
Get-Alias | more

ファイル削除など。「rm *」に注意。
rm *.txt~
 
grep でのテキスト検索と同等。
Select-String -Encoding default 賛成 *.txt