Skip to content

Instantly share code, notes, and snippets.

@posaunehm
Created August 10, 2012 07:40
Show Gist options
  • Save posaunehm/3312379 to your computer and use it in GitHub Desktop.
Save posaunehm/3312379 to your computer and use it in GitHub Desktop.
COM登録している全バッチファイルを検索するワンライナー。
ls -Recurse -Include "*.bat" | ?{(cat $_.FullName) -match "REGSVR"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment