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-07-23 07:53
中国DOS联盟论坛 » DOS启动盘 & LOGO技术 (启动盘室) » Experts, please help! View 582 Replies 1
Original Poster Posted 2003-07-17 00:00 ·  中国 广东 河源 电信
高级用户
★★
Credits 916
Posts 201
Joined 2003-05-04 00:00
23-year member
UID 1849
Gender Male
Status Offline
Following the steps below, is it possible to write a DOS program? But I'm a complete DOS newbie, so I can only ask for help here from all the experts gathered here. If it's done, could you send me a copy, okay? My email is mei074@163.com, thank you.

1. Use GHOST to make a GHO file from the existing system, and put it anywhere, for example in D:\

2. Write a small program based on DOS, with the following functions:

A. Clear the screen; display prompts on the screen such as "Press F10 to restore the system..." and so on;

B. Repeatedly check the keyboard for a period of time (for example 2 seconds); if F10 is not detected, the program exits;

C. If F10 is detected, prompt: "You pressed F10, now preparing to restore the system. Continue? (Y/N)";

D. If N is entered, the program exits;

E. If Y is entered, call GHOST in command-line form to perform automatic restore;

F. After the call is finished, reboot the system;

3. If you want to make it look nicer, it could also be made graphical, in Chinese, with mouse support...

4. Make the system automatically run this DOS program before entering WINDOWS.
Floor 2 Posted 2003-07-17 00:00 ·  中国 上海 电信
金牌会员
★★★★
小飞侠
Credits 4,590
Posts 1,812
Joined 2003-04-02 00:00
23-year member
UID 1400
Gender Male
From 上海市
Status Offline
Someone made this before!
Forum Jump: