fxby 当前离线
列兵
samchang2006 当前离线
TOP
DAIC 当前离线
中将
ads350668398 当前离线
五级士官
CrLf 当前离线
论坛巡查
@echo off setlocal enabledelayedexpansion (for /f "delims=0123456789 eol=," %%a in (时间.txt) do ( set /p "a=" & set /p "b=" echo !a:,,=,!!b! ))<时间.txt >时间_new.txt start 时间_new.txt复制代码
@set @bathome=1;/*&echo off cscript -nologo -e:jscript %0 <时间.txt >时间_new.txt start 时间_new.txt pause & exit /b */ var text = WScript.StdIn.ReadAll() WScript.Echo(text.replace(/,\r?\n/g,''))复制代码
neorobin (neorobin)当前离线
技术组成员
01,08:20:21,08:22:26,, 姓名1 02,08:24:21,09:45:34,, 姓名2 03,09:26:43,09:55:01,, 姓名3 04,09:44:33,09:56:55,, 姓名4复制代码
@echo off & chcp 936 & setlocal enabledelayedexpansion del /f /q "C:\时间.csv" >"C:\时间.csv" ( for /f "useback delims=" %%a in ("C:\Users\hh\Desktop\时间.txt") do echo;%%a | find ":" >nul && (set t=%%a)||(echo;!t:~0,-1!%%a) )复制代码
@echo off & chcp 936 cd /d "%~dp0" setlocal enabledelayedexpansion >时间_new.txt ( for /f "delims=" %%a in (时间.txt) do echo;%%a | find ":" >nul && (set t=%%a)||(echo;!t:~0,-1!%%a) ) start 时间_new.txt复制代码
@echo off & chcp 936 setlocal enabledelayedexpansion >时间_new.txt ( for /f "delims=" %%a in (C:\Users\hh\Desktop\时间.txt) do echo;%%a | find ":" >nul && (set t=%%a)||(echo;!t:~0,-1!%%a) ) start 时间_new.txt复制代码