Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
cmd で次のコードを使用してフォルダーを超非表示にできることはわかっています。
フラッシュドライブの文字(または可能性のある文字の範囲)がわかっている場合は、使用できます
:LOOP for %%a in (E: F: G:) do ( if exist %%a\FolderToHide attrib +s +h %%a\FolderToHide ) timeout /t 5 goto :LOOP
タイムアウトは、バッチが CPU サイクルをオーバーロードしないようにするためのものです。ドライブ文字がわからない場合はA:、Z:.
A:
Z: