标准写法应该是这样的,注意文件和文件夹后边的扩展取值
- /d "\""%%"SystemRoot"%%"\System32\cmd.exe\" /s /c @echo off&for /f \"delims=\" %%%%z in (\"%%v\")do (Echo,@Echo Off^&Color 0e&Echo,EndLocal&Echo,SetLocal&Echo,rem,SetLocal DisableExtension&Echo,rem,SetLocal EnableExtension&Echo,SetLocal DisableDelayedExpansion&Echo,SetLocal EnableDelayedExpansion&echo,&echo,call:调用标签 调用参数&echo,for /f \"usebackq skip=0 eol=; tokens=* delims= \" %%%%%%%%i in ^('\"\"'^)do ^(&echo, &echo,^)&echo/&echo,pause&echo,goto:eof)>\"%%~fz\Data_"%%%%"Random:~-1"%%%%""%%%%"Random:~-1"%%%%""%%%%"Random:~-1"%%%%""%%%%"Random:~-1"%%%%"]["%%%%"Random:~-1"%%%%""%%%%"Random:~-1"%%%%""%%%%"Random:~-1"%%%%""%%%%"Random:~-1"%%%%".bat\"" /f
复制代码
|