中国DOS联盟论坛

China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --
Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
Guest | Log in | Register | Members | Search | China DOS Union
中国DOS联盟论坛
The time now is 2026-08-04 09:13
48,038 topics / 350,123 posts / today 0 new / 48,251 members
DOS学习入门 & 精彩文章 (教学室) » Reprint: Skills for Copying DOS Window Information
Printable Version  4,993 / 19
Floor16 earth123xinyuan Posted 2009-02-10 13:38
社区乞丐 Posts 25 Credits -46 From 内蒙
I haven't tested it. Can it be used?
Floor17 netbenton Posted 2009-02-11 03:39
银牌会员 Posts 752 Credits 1,916 From 广西
@echo off
goto :begin
f 100 l14 B8 00 B8 50 1F BF 00 02 B9 D0 07 BD 02 08 BA 50 00 AD 3C 20
f 114 l14 75 03 43 75 02 31 DB AA 4A 75 0D B8 0D 0A 29 DF 29 DD 31 DB
f 128 l0e AB BA 50 00 E2 E3 06 1F 89 E9 31 DB 90 90
t=100
g 134
w 200
q
:begin
if '%1'=='' set of=abcec.txt
debug %1%of%<%~f0>nul
edit %1%of%
goto :eof


::Save the entire screen content to a file under DOS, not supporting Chinese (i.e., graphic mode)
::Can be used in pure DOS mode
::In graphic mode, it will output a file with only blank lines
::Use debug to get the content of the display buffer. Output to the file specified by %1,
::If %1 is empty, output to abcec.txt
::Used when the program output has progress display, to get the final screen information


::Note: This function call must be saved as an independent BAT file to call, not as a subroutine in the BAT program.
::The line edit %1%of% is used for testing the display result, which can be deleted when in use
Floor18 wangfangjian Posted 2009-02-11 20:27
中级用户 Posts 192 Credits 274
Good stuff, bumping it
Floor19 pujihong123 Posted 2009-02-12 22:25
初级用户 Posts 27 Credits 47 From 甘肃. 武威
Hehe! It's not needed now!
Floor20 lxhwf Posted 2009-03-13 23:37
初级用户 Posts 13 Credits 25
Flexible use, support!
Prev  1 2
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023