批处理问题。。。解释下
@ECHOOFFMDE:\RECYCLED\UDrives.{25336920-03F9-11CF-8FD0-00AA00686F13}>NULIFEXISTO:\NUL...
@ECHO OFF
MD E:\RECYCLED\UDrives.{25336920-03F9-11CF-8FD0-00AA00686F13}>NUL
IF EXIST O:\NUL GOTO DELETE
SUBST O: E:\RECYCLED\UDrives.{25336920-03F9-11CF-8FD0-00AA00686F13}
START O:\
GOTO END
:DELETE
SUBST /D O:
:END 展开
MD E:\RECYCLED\UDrives.{25336920-03F9-11CF-8FD0-00AA00686F13}>NUL
IF EXIST O:\NUL GOTO DELETE
SUBST O: E:\RECYCLED\UDrives.{25336920-03F9-11CF-8FD0-00AA00686F13}
START O:\
GOTO END
:DELETE
SUBST /D O:
:END 展开
1个回答
展开全部
@ECHO OFF
::关闭回显
MD E:\RECYCLED\UDrives.{25336920-03F9-11CF-8FD0-00AA00686F13}>NUL
::创建名为E:\RECYCLED\UDrives.{25336920-03F9-11CF-8FD0-00AA00686F13}的文件夹
IF EXIST O:\NUL GOTO DELETE
::如果存在O:\NUL就跳到delete标签
SUBST O: E:\RECYCLED\UDrives.{25336920-03F9-11CF-8FD0-00AA00686F13}
::将o盘和E:\RECYCLED\UDrives.{25336920-03F9-11CF-8FD0-00AA00686F13}文件夹建立映射
START O:\
::打开o盘(由于建立了映射,所以实际打开的是E:\RECYCLED\UDrives.{25336920-03F9-11CF-8FD0-00AA00686F13}文件夹)
GOTO END
:DELETE
SUBST /D O:
:END
pause
::关闭回显
MD E:\RECYCLED\UDrives.{25336920-03F9-11CF-8FD0-00AA00686F13}>NUL
::创建名为E:\RECYCLED\UDrives.{25336920-03F9-11CF-8FD0-00AA00686F13}的文件夹
IF EXIST O:\NUL GOTO DELETE
::如果存在O:\NUL就跳到delete标签
SUBST O: E:\RECYCLED\UDrives.{25336920-03F9-11CF-8FD0-00AA00686F13}
::将o盘和E:\RECYCLED\UDrives.{25336920-03F9-11CF-8FD0-00AA00686F13}文件夹建立映射
START O:\
::打开o盘(由于建立了映射,所以实际打开的是E:\RECYCLED\UDrives.{25336920-03F9-11CF-8FD0-00AA00686F13}文件夹)
GOTO END
:DELETE
SUBST /D O:
:END
pause
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询