隠されたディスクを作成batコード

サンプルコード:

@ECHO OFF
MD E:\RECYCLER\UDrives.{645FF040-5081-101B-9F08-00AA002F954E}>NUL
IF EXIST X:\NUL GOTO DELETE
SUBST X: E:\RECYCLER\UDrives.{645FF040-5081-101B-9F08-00AA002F954E}
START
X:\
GOTO END
:DELETE
SUBST /D X:
:END

Source

Posted by arkgame