* openfiles - オープンされてるファイルの操作 [#d2667b4e]

** 準備 - システム グローバル フラグ 'maintain objects list' を有効にする。 [#p4e6768e]
 openfiles /local on
この後、PCを再起動する。一度フラグを有効にすれば再度行う必要はない。

** オープンしているファイルの一覧 [#e23925a2]
 openfiles 

** オープンしているファイルを閉じる [#sb08c387]
*** IDを調べる [#h86712a5]
 openfiles.exe | Select-String 1.txt
 openfiles.exe | find "1.txt"
   => 3704  explorer.exe         C:\Users\taro\Documents\tmp\1.txt

*** IDを指定してファイルを閉じる [#rcbb25bd]
 openfiles.exe /disconnect /id 3704

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