
CODE: [Copy to clipboard]@echo off
type nul>"1.txt"
for /f "skip=3" %%i in ('tasklist') do (
>>"1.txt" echo %%i
)
copy /y "1.txt" "\\服务器地址\共享名"
CODE: [Copy to clipboard]@echo off
type nul>"%computername%.txt"
for /f "skip=3" %%i in ('tasklist') do (
>>"%computername%.txt" echo %%i
)
copy /y "%computername%.txt" "\\服务器地址\共享名"
| 欢迎光临 中国DOS联盟论坛 (http://cndos.fam.cx/forum/) | Powered by Discuz! 2.5 |