@ECHO OFF
IF EXIST %~nx0.html DEL /F /Q %~nx0.html
ECHO ^<html^>^<head^>^<title^>%~nx0^</title^>^</head^>^<body style="background:black;" onload="window.setInterval(function(){window.scrollBy(0,800);},800);" ^>  >>%~nx0.html
FOR /F %%I IN ('DIR /B /O') DO (
IF /I %%I NEQ %~nx0 ( 
    IF /I %%I NEQ %~nx0.html (
::        ECHO ^<img width="500px" onmouseover="this.style.width=this.naturalWidth;" onclick="javascript:window.open(this.src);" onmouseout="this.style.width='500px';" src="%%I"^> >>%~nx0.html
        ECHO ^<img width="49.5%%" onclick="javascript:window.open(this.src);" src="%%I"^> >>%~nx0.html
    )
)
)
ECHO ^</body^>^</html^>  >>%~nx0.html

把同路径下的所有文件创建一个html,以方便在浏览器中全局浏览。

相关文章:

  • 2021-07-31
  • 2021-12-22
  • 2022-01-15
  • 2022-12-23
  • 2022-12-23
  • 2021-05-12
  • 2021-12-18
猜你喜欢
  • 2021-05-31
  • 2022-12-23
  • 2021-12-08
  • 2021-09-12
  • 2022-01-06
  • 2021-12-09
相关资源
相似解决方案