中国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-09-06 09:17
47,812 topics / 349,914 posts / today 0 new / 48,268 members
DOS启动盘 & LOGO技术 (启动盘室) » Experts, please help!
Printable Version  639 / 1
Floor1 walu Posted 2003-07-17 00:00
高级用户 Posts 201 Credits 916
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.
Floor2 沈洁 Posted 2003-07-17 00:00
金牌会员 Posts 1,812 Credits 4,590 From 上海市
Someone made this before!
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023