Clip to Evernote

個人の作業環境を USB メモリに入れて持ち運び!がコンセプトの Portable Apps ですが、簡易なウィルススキャンとして Free *nix 方面で利用されている Clam AV の Windows 版ポータブルの ClamWin Portable も利用できます。

このポータブル版 ClamWin で単ファイルのウィルスチェックを行なう方法。
–mode=scanner オプションを指定して ClamWinPortable.exe を起動します。(ClamWin.exe ではありません)

ClamWinPortable.exe --mode=scanner --close --path="ここにファイルのパス"

Firefox Portable にインストールした Download Statusbar を例に、ファイルダウンロード時の自動ウィルスチェックを実行するための設定をしてみました。
Download Statusbar の設定
–close は、スキャンが終わったらウィンドウを自動で閉じるオプションです。ウィルスを発見した場合はダイアログが開くので閉じたら問題無いと判断します。
スキャンしたいファイルを –path オプションで指定します。

検索対象ファイルを –path= に続けて空白無しで指定する必要があるので、ショートカットを作成してドラッグアンドドロップや右クリックの「送る」に登録してもうまくいきません。
そういう場合は、次のようなバッチファイルを作成します。

start D:\PortableApps\ClamWinPortable\ClamWinPortable.exe --mode=scanner --close --path=%1

制限として、複数ファイルを指定した時に、先頭の1ファイルのみが対象になります。

Posted by suisui, filed under 未分類. Date: 5月 13, 2008, 4:33 pm | No Comments »

Leave a Comment

Your comment

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Please note: Comment moderation is enabled and may delay your comment. There is no need to resubmit your comment.