openfiles - オープンされてるファイルの操作

準備 - システム グローバル フラグ 'maintain objects list' を有効にする。

 openfiles /local on

この後、PCを再起動する。一度フラグを有効にすれば再度行う必要はない。

オープンしているファイルの一覧

 openfiles 

オープンしているファイルを閉じる

IDを調べる

 openfiles.exe | find "1.txt"
   => 3704  explorer.exe         C:\Users\taro\Documents\tmp\1.txt

IDを指定してファイルを閉じる

 openfiles.exe /disconnect /id 3704

トップ   編集 凍結 差分 バックアップ 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS

Last-modified: 2012-10-24 (水) 08:29:44