China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --

Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!

中国DOS联盟论坛
The time now is 2026-08-01 12:39
中国DOS联盟论坛 » DOS批处理 & 脚本技术(批处理室) » [Original][Top Quality] Super Simple Code to Create Perfect Dos Edit Notepad View 1,978 Replies 1
Original Poster Posted 2011-01-14 17:56 ·  中国 四川 内江 电信
新手上路
Credits 4
Posts 3
Joined 2010-08-20 21:09
15-year member
UID 172736
Gender Male
Status Offline
A very beautiful DOS notepad. Since it is part of the system, the code is concise, only 4 lines of code + one test file. Before compression, it is 568 bytes, and after compression, it is only 249 bytes, and the download is fast.

cls
@echo off
echo edit.com %1|cmd.exe
exit

Description: There are two files in the compressed file, and it is executed in a drag-and-drop manner:
Edit.bat----------------Main program, just drag and drop on it to execute and view the task.
test----------------------For testing, you can not have it, just for testing effect, drag and drop on Edit.bat to execute.
Functional highlights:
1. Built-in system, no virus.
2. Not only can view, but also can edit.
3. Although it can recognize Chinese directories, it does not support Chinese input.
4. English interface, fast running, mouse operation.
5. Suitable for: BAT, VBS programming and English records.
Download (115U): Click to jump
Update download address 2011-1-14-19:38

[ Last edited by zc99 on 2011-1-14 at 20:40 ]
Floor 2 Posted 2011-01-17 19:02 ·  中国 上海 电信
初级用户
Credits 28
Posts 23
Joined 2010-11-26 11:37
15-year member
UID 178303
Gender Male
Status Offline
If the code page becomes American, import the following reg
=========================
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Console\%SystemRoot%_system32_cmd.exe]
"CodePage"=dword:000003a8

====================================
Forum Jump: