哎呀 完了一步 真正想说出来了····- @set @n=0;/* & echo off
- pushd "C:\Users\新建文件夹 (3)"
- for /f "delims=" %%a in ('dir /b *.txt') do (
- cscript -nologo -e:jscript "%~0"<"%%a">$
- move $ "%%a"
- )
- pause & exit/b & rem */
-
- ar = WScript.StdIn.ReadAll().split("\r\n");
- WScript.Echo(ar.slice(0,50).join("\r\n"))
复制代码
|