在window中向DOS窗口里输入汉字的几种方法
我们来总结一下在window中向comamndDOS窗口里输入汉字的几种方法吧!
1。挂windows自己的汉字平台。方法:在dos提示符下敲入:PDOS95 回车就可以了。激活汉字输入法方法:CTRL+SPACE(空格键)
2。挂你喜欢的汉字平台。如CCDOS,UCDOS,或者TW32。前提是你有这样的汉字平台了。ccdos里激活汉字输入法方法:ALT+F4(五笔)
ALT+F3(拼音),这样的汉字平台基本上都是用ALT+Fn来激活了。
3。用window提供的剪贴功能。在dos窗口(不要全屏)的工具栏中有“标记”,“复制”,“粘贴”,“全屏”,。。。等几个按钮。
用“标记”选定要复制的字符,用“复制”或CTRL+C来复制,用“粘贴”来。。。反过来,也可以从window其它窗口向DOS窗口里复制。
4。用dos自己的特殊命令。常用的是在Window中建立一个bat批处理文件。利用重定向命令符(比如|管道符,>,>>输出转向,<,输入转向),像XF兄弟做的那样。还有个可能有用的是:
利用它进入汉字目录。在进不了的汉字目录中敲入:dir>a.bat
然后用edit来把其它的东西删了,只留下汉字目录名,然后在它前面加上cd 这条命令,存盘退出,执行a.bat(敲入a然后回车就可以了),是不是进去了?当然,还可以用RAR,SEA,List.com这几个好用的DOS工具来进入汉字目录,这样更简单(不过你得有这几个软件其中之一才行)。
在Window中,我还是推荐用第一种方法,是window提供的嘛,到哪都能用。。。
在全屏方式下调试程序呢,我推荐CCDOS,带计算器的那个,(应该是成然CCDOSDFKC2000专用版),让你在调试程序时特方便。。。
注意:在win2000中没有象win98的DOS窗口那样的工具栏,但可以用右键点标题栏,出现的菜单中有一项是编辑,编辑这一项是二级菜单,里面从上到下是:标记(mark),复制(copy),粘贴(paste),选择所有的(select all),滚动(scroll),查找(find)。你可以点“标记”,然后按住shift键移动光标,会有一个反白的区域,这就是你的标记了要进行复制的区域。接着你可以再点出"复制"来进行复制,也可直接按“回车键”进行复制。如果你在window下复制了一些文字,要粘贴到win2000的DOS窗口下去的话,那一定要点"编辑"这个二级菜单的“粘贴”,这样文字就粘贴到你的DOS窗口里了。(按Ctrl+V无效)
单独贴出来,希望有更多的人看到它,更希望有更多的人能从此得到些帮助。但现在用DOS的人越来越少了。。。偶尔到dos窗口中的人也不多。。。其实我还是很喜欢DOS的。
注意:在win2000的DOS窗口下可以直接调用windows的输入法。一般地,快捷键为
Ctrl+Space 切换中英文输入法。
Ctrl+Shift 切换不同的输入法
Several Methods to Enter Chinese Characters into the DOS Window in Windows
Let's summarize several methods to enter Chinese characters into the command DOS window in Windows!
1. Mount Windows' own Chinese character platform. Method: Type "PDOS95" at the DOS prompt and press Enter. To activate the Chinese input method: CTRL + SPACE (spacebar).
2. Mount your preferred Chinese character platform. Such as CCDOS, UCDOS, or TW32. The premise is that you have such a Chinese character platform. In CCDOS, to activate the Chinese input method: ALT + F4 (Wubi), ALT + F3 (pinyin). Basically, such Chinese character platforms are activated using ALT + Fn.
3. Use Windows' provided clipboard function. In the DOS window (not full screen), there are buttons like "Mark", "Copy", "Paste", "Full Screen", etc. in the toolbar. Use "Mark" to select the characters to be copied, use "Copy" or CTRL + C to copy, and use "Paste" to... Conversely, you can also copy from other Windows windows to the DOS window.
4. Use DOS' own special commands. Commonly, create a bat batch file in Windows. Use redirection command symbols (such as the | pipe symbol, >, >> output redirection, <, input redirection), like what Brother XF did. Another possible useful one is: Enter the Chinese character directory. In a Chinese character directory that you can't enter, type: dir > a.bat. Then use edit to delete other things, leaving only the Chinese character directory name, then add the command "cd" in front of it, save and exit, and execute a.bat (type a and press Enter). Is it entered? Of course, you can also use RAR, SEA, List.com these useful DOS tools to enter the Chinese character directory, which is simpler (but you need to have one of these software).
In Windows, I still recommend the first method, as it is provided by Windows and can be used anywhere...
For debugging programs in full-screen mode, I recommend CCDOS, the one with a calculator, (should be Chengran CCDOS DFKC2000 Special Edition), which is very convenient when debugging programs...
Note: In Windows 2000, there is no toolbar like the DOS window in Windows 98, but you can right-click the title bar, and there is an item in the menu called Edit. This Edit is a sub-menu, and from top to bottom are: Mark (mark), Copy (copy), Paste (paste), Select All (select all), Scroll (scroll), Find (find). You can click "Mark", then hold down the Shift key and move the cursor, there will be a highlighted area, which is the area you marked for copying. Then you can click "Copy" again to copy, or directly press the "Enter" key to copy. If you copied some text under Windows and want to paste it into the DOS window of Windows 2000, you must click the "Paste" of this sub-menu of "Edit", then the text will be pasted into your DOS window. (Ctrl + V is invalid)
Post it separately, hoping more people will see it, and more people can get some help from it. But now fewer and fewer people use DOS.... There are not many people who occasionally enter the DOS window... Actually, I still like DOS very much.
Note: In the DOS window of Windows 2000, you can directly call Windows' input method. Generally, the shortcuts are:
Ctrl + Space to switch between Chinese and English input methods.
Ctrl + Shift to switch between different input methods.