ウィンドウズ
フォルダを削除またはコピーするときのエラー0x80070091「ディレクトリは空ではありません」
フォルダーを削除するか、別の場所またはドライブにコピーしようとすると、次のエラーがポップアップする場合があります。
中断されたアクション。
予期しないエラーにより、フォルダーを削除できません。 このエラーが引き続き発生する場合は、エラーコードを使用して、この問題のヘルプを検索できます。
エラー0x80070091:ディレクトリが空ではありません。
[再試行] [スキップ] [キャンセル]

手順1:フォルダーの名前を変更してみる
フォルダの名前を変更すると効果があるかどうかを確認します。 フォルダー名がoffice docs
場合は、ファイル名またはフォルダー名の末尾にハイフンまたは感嘆符を追加してくださいoffice docs!
。
次に、フォルダを削除またはコピーしてください。 それでも解決しない場合は、 Step 2
試してください。
手順2:Chkdskまたはディスクのエラーチェックを実行する
- エクスプローラーを開く
- フォルダーがあるドライブ文字を右クリックし、[プロパティ]をクリックします。
- [ ツール ]を選択し、[エラーチェック ]の下の[ チェック ]ボタンをクリックします。
- Windowsがドライブをチェックする必要はないことを示していますが、とにかく[ ドライブをスキャン ]をクリックします。
- ディスクエラーチェックが完了したら、ダイアログボックスの[詳細]リンクをクリックします。
詳細の表示をクリックすると、イベントビューアが起動し、アプリケーションログの正確なディスクエラーチェックエントリが開きます。
エントリの例を次に示します。
ディスクエラーチェック–アプリケーションイベントログの結果
Chkdsk was executed in scan mode on a volume snapshot. Checking file system on D: Stage 1: Examining basic file system structure ... 41216 file records processed. File verification completed. 0 large file records processed. 0 bad file records processed. Stage 2: Examining file name linkage ... 43044 index entries processed. Index verification completed. Stage 3: Examining security descriptors ... Security descriptor verification completed. 915 data files processed. CHKDSK is verifying Usn Journal... 34431536 USN bytes processed. Usn Journal verification completed. Windows has scanned the file system and found no problems. No further action is required. 283583487 KB total disk space. 54862240 KB in 12528 files. 3588 KB in 916 indexes. 149583 KB in use by the system. 65536 KB occupied by the log file. 228568076 KB available on disk. 4096 bytes in each allocation unit. 70895871 total allocation units on disk. 57142019 allocation units available on disk. ---------------------------------------------------------------------- Stage 1: Examining basic file system structure ... Stage 2: Examining file name linkage ... Stage 3: Examining security descriptors ...
これにより、エラー「0x80070091:ディレクトリが空ではありません」、「フォルダを削除できません」、またはファイルシステム/ディスクのエラーが原因の同様のエラーメッセージが修正されます。