📜  命令提示符输出格式 - 任何代码示例

📅  最后修改于: 2022-03-11 14:56:14.134000             🧑  作者: Mango

代码示例1
@echo off
    setlocal enableextensions disabledelayedexpansion

    for /f "delims=" %%a in ('hostname') do set "host=%%a"

    >output.txt (
        for %%z in (*.jpg) do for /f "delims=" %%a in ('
            certutil -hashfile "%%z" MD5 ^| find /v ":"
        ') do echo %host%,,%%z,,%%a
    )