我是这批整批脚本编程的新手,但我真的很喜欢它。我一直在使用批处理脚本,并将恒定的ping结果以及时间戳输出到.txt文件,但希望输出到.xlsx。这是我一直在使用的脚本。将批处理结果输出为excel
@echo off
title Google Ping
mode 12,1
:start
set DT=%date:/=-%
timeout /t 30
echo %time% %date% >> C:\Users\Bradley\Desktop\Logs\google_log%DT%.txt
ping -n 1 8.8.8.8 >> C:\Users\Bradley\Desktop\Logs\google_log%DT%.txt
goto start
任何帮助将不胜感激。