|
beachfish
初级用户
 
积分 175
发帖 19
注册 2003-3-4
状态 离线
|
『楼 主』:
请问如何将DOS里显示的内容另存为文本文件?(急)
使用 LLM 解释/回答一下
请问如何将DOS里显示的内容另存为文本文件?(急)
How to save the content displayed in DOS as a text file? (urgent)
|
|
2004-6-18 00:00 |
|
|
Climbing
铂金会员
       网络独行侠
积分 6962
发帖 2753
注册 2003-4-16 来自 河北保定
状态 离线
|
『第 2 楼』:
使用 LLM 解释/回答一下
你要具体说明在DOS中显示的是什么内容,DOS下的命令有几百个,每个命令都可能显示信息。我以dir为例。
假设你运行dir命令,dir会列出当前目录下的所有文件和目录信息,现在你想将这些列出的信息保存到一个文本文件中。那么你可以使用下面这个命令:
dir > list.txt
这个命令中的>号会将dir的显示内容转向到list.txt这个文件中,这在dos中好象叫输入/输出重定向,还有一个|线表示管道操作,表示将一个命令的输出作为另一个命令的输入。例如:
echo y | del *.*
这个命令将echo输出的y作为del *.*命令的输入,del *.*就不用再等你输入y才继续删除操作了,有兴趣的话,可以好好查一下dos下的重定向(>, >)及管道操作(|)。
You need to specify what is displayed in DOS. There are hundreds of commands in DOS, and each command may display information. Take dir as an example.
Suppose you run the dir command. The dir will list all file and directory information in the current directory. Now you want to save the listed information to a text file. Then you can use the following command:
dir > list.txt
The > sign in this command will redirect the display content of dir to the list.txt file. This is called input/output redirection in DOS. There is also a | line representing pipeline operation, which means to use the output of one command as the input of another command. For example:
echo y | del *.*
This command uses the y output by echo as the input of the del *.* command, and the del *.* does not need to wait for you to enter y to continue the deletion operation. If you are interested, you can check the redirection (> , >) and pipeline operation (|) under DOS.
|

偶只喜欢回答那些标题和描述都很清晰的帖子!
如想解决问题,请认真学习“这个帖子”和“这个帖子”并努力遵守,如果可能,请告诉更多的人!
|
|
2004-6-18 00:00 |
|
|
xjhlhb
高级用户
   
积分 736
发帖 210
注册 2004-4-12 来自 中國
状态 离线
|
『第 3 楼』:
使用 LLM 解释/回答一下
楼上的说得很明白了,照做可以了
What the person upstairs said is very clear. Just follow it.
|
|
2004-6-19 00:00 |
|
|
beachfish
初级用户
 
积分 175
发帖 19
注册 2003-3-4
状态 离线
|
『第 4 楼』:
使用 LLM 解释/回答一下
非常谢谢楼上两位热心人
我试试看
Thank you very much to the two enthusiastic people upstairs
I'll give it a try
|
|
2004-6-20 00:00 |
|
|
s32307
中级用户
  
积分 246
发帖 53
注册 2004-6-7
状态 离线
|
『第 5 楼』:
使用 LLM 解释/回答一下
可以试一下DN,运行DN后按CTRL+F4关闭它的窗口,然后运行你的相应软件,出现需要的屏幕后再按SHIFT+ALT+INS组合键,你不会失望的。
You can try DN. After running DN, press CTRL+F4 to close its window, then run your corresponding software. When the needed screen appears, press the SHIFT+ALT+INS key combination. You won't be disappointed.
|

天下石姓论坛欢迎你!百度一下“天下石姓”吧! |
|
2004-6-24 00:00 |
|
|
s32307
中级用户
  
积分 246
发帖 53
注册 2004-6-7
状态 离线
|
『第 6 楼』:
使用 LLM 解释/回答一下
然后打开DN内置的编辑器(按ALT+Q即可),把抓到的文字内容粘贴到编辑器内(可按SHFT+INS键),下一步是另存为……
对了,这点E文应该不成问题吧?
Then open the built-in editor of DN (just press ALT+Q), paste the captured text content into the editor (you can press SHFT+INS key), and the next step is to save as...
By the way, this English shouldn't be a problem, right?
|

天下石姓论坛欢迎你!百度一下“天下石姓”吧! |
|
2004-6-24 00:00 |
|
|
xjhlhb
高级用户
   
积分 736
发帖 210
注册 2004-4-12 来自 中國
状态 离线
|
『第 7 楼』:
使用 LLM 解释/回答一下
DN是啥工具,请楼上说明白些,不过可以不用其他工具得,2楼得很好呀
What tool is DN? Please make it clear for the person above, but it can be done without other tools. The description from the 2nd floor is very good.
|
|
2004-6-25 00:00 |
|
|
liuxiayun
初级用户
 
积分 196
发帖 20
注册 2004-6-20
状态 离线
|
『第 8 楼』:
使用 LLM 解释/回答一下
要是在WINDOWS下运行的DOS,还可以用抓屏软件录下来。
If you run DOS under WINDOWS, you can still record it with a screen capture software.
|
|
2004-6-26 00:00 |
|