中国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-08-15 09:11
47,813 topics / 349,902 posts / today 0 new / 48,257 members
DOS疑难解答 & 问题讨论 (解答室) » Production of Chinese Character Menus for F11 One-Key Restoration
Printable Version  2,887 / 6
Floor1 rocksun520 Posted 2006-08-03 10:17
新手上路 Posts 1 Credits 6
I want to make a one - key restore Chinese character menu. I don't know how to write config.sys and autoexec.bat?
Floor2 sgzhou6688 Posted 2010-05-18 14:54
中级用户 Posts 110 Credits 231 From 中国大陆
Should I first reference a Chinese character font library of tw.exe?
Floor3 mbss Posted 2010-05-18 16:21
初级用户 Posts 18 Credits 51
Wow! The LZ registered in 2006 and is still a newbie!
Floor4 sgzhou6688 Posted 2010-05-20 12:36
中级用户 Posts 110 Credits 231 From 中国大陆
Originally posted by mbss at 2010-5-18 04:21 PM:
Wow! The LZ registered in 2006 and is still a newbie!

》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》
Problems can't grow without being addressed.》》》》》》》》》》》》》》》》》》》
Floor5 506212lw Posted 2010-06-25 10:14
新手上路 Posts 8 Credits 16
Take a look at mine. It was written in June 2001.

@ECHO off
path c:\dos;c:\
PROMPT $P$G

goto %confect%

:WinXP
TW /ns
@echo off
echo.
echo To facilitate understanding the function of the system recovery program, first start Chinese support
echo Have entered the WinXP menu. (Start WinXP to be normal)
echo The main purpose of this WinXP program is to automatically restore the backup file WinXP.gho on the hard disk.
echo All operations will run automatically! Restore to the state of the last backup.
echo .................................................................
echo Will exit the Chinese environment soon, and Chinese thereafter cannot be displayed normally
echo The following will automatically pause. Press Ctrl+C to interrupt the operation of the recovery program,
echo Press any key to continue. The system will automatically restart after the system recovery is completed!
pause
tw/q
prompt $p$g
set tz=gmt-8
set dircmd=/o:n
set comspec=c:\command.com
set path=c:
set temp=c:
set tmp=c:
xmsman
set hdpmi=16384
SMARTDRV.exe >nul
hdpmi32
echo lh ndos -lfn -mountall -cp:936
%exec1%
%exec3%
%exec4%
xmsman -c
goto exit

:dos
tw /ns
@echo off
echo.
echo To facilitate understanding the function of the backup program, first start Chinese support
echo Have entered the dos menu. (Readme & Return to DOS Command Line)
echo Have entered the manual menu. (Any operation in this menu will not cause any impact on the normal operation of the system)
echo (Active code page) CHCP 936 is Simplified Chinese, CHCP 437 is English
echo. This menu belongs to the manual and system manual maintenance interface,
echo Generally, just read the manual carefully. There are no automatic running programs and will not affect the system.
echo If manual operation requires technical support, some system software and hardware maintenance tools are built-in. Please use with caution by experts.
echo ......................................................................
echo First load the cache lh smartdrv.exe
echo ......................................................................
echo.
echo If there are three backup files, delete the third one first; pay attention to pausing once
echo Rename the second one to the third one and keep it temporarily;
echo Rename the first one to the second one to make room for the new backup;
echo Provide a pause opportunity for you to press ctrl+C to terminate the operation of the program!
echo if exist winxp-2.gho pause
echo del winxp-2.gho
echo if exist winxp-1.gho ren winxp-1.gho winxp-2.gho
echo if exist winxp.gho ren winxp.gho winxp-1.gho
echo pause
echo ......................................................................
echo.
pause
echo ......................................................................
echo If U want to recreate the whole system ,just do it!!!
echo If you need to recreate the whole system, just do it!!!
echo Or U can press ctrl+C to terminate it! Then press "Y"!
echo Or you need to press ctrl+C to terminate the operation of the backup program, then press "Y" to confirm!
echo mem/c/p: memory situation check,operate manually!
echo mem/c/p Small program for memory check, can be executed manually
echo A new ghost file called "winxp.gho" will be created
echo Will exit the Chinese environment soon, then execute the first backup!
echo Last pause time for U! Think about it then make choice!
echo The last pause provides a chance to regret!
echo pause
echo A new backup file called winxp.gho will be created
echo Ghost.exe -clone,mode=pdump,src=1:1,dst=1:2\winxp.gho -z1 -sure -rb
echo ......................................................................
pause
@echo on
%exec1%
%exec2%
pause
%exec3%
%exec4%
goto exit

:Backup
TW /ns
@echo off
echo.
echo To facilitate understanding the function of the self-backup system program, first start Chinese support
echo You have chosen to enter the Backup menu. (Start To Restore the System yourself) (Back up the computer system personally)
echo The main purpose of this program is for users to create new backup files on the hard disk by themselves.
echo Up to three backup files (excluding factory backups) can be accommodated in the hidden partition; they are XP, XP-1 and XP-2 respectively. The factory backup is XP-0, and this file cannot be deleted by conventional methods.
echo Each time you enter this menu, a new backup will be created. The original backup file XP will be renamed to XP-1 and XP-2 in turn. When creating the fourth backup, the following command will delete XP-2 to ensure that the hard disk space meets the requirements.
echo If the following command line if exist winxp-2.gho pause pauses, it means that there is a third backup on the hard disk, prompting you to perform the next operation is to delete this file. Otherwise, "File not found" is displayed
echo.
echo .................................................................
echo Will exit the Chinese environment soon, pay attention to observe the English prompts and command line displays
echo The following will pause three times. Press Ctrl+C to interrupt the operation of the recovery program,
echo Press any key to continue,
echo Note: The following will pause three times in a row!
echo The system will automatically restart after the system recovery is completed!
pause
tw/q
prompt $p$g
set tz=gmt-8
set dircmd=/o:n
set comspec=c:\command.com
set path=c:
set temp=c:
set tmp=c:
xmsman
set hdpmi=16384
hdpmi32
echo ndos -lfn -mountall -cp:936
echo lh smartdrv.exe
@echo off
echo if exist winxp-2.gho pause
echo del winxp-2.gho
if exist winxp-2.gho pause
del winxp-2.gho
if exist winxp-1.gho ren winxp-1.gho winxp-2.gho
if exist winxp.gho ren winxp.gho winxp-1.gho
echo.
echo .................................................................
echo If U want to recreate the whole system ,just do it!!!
echo Or U can press ctrl+C to terminate it! Then press "Y"!
echo mem/c/p: memory situation check,operate manually!
echo A new ghost file called "winxp.gho" will be created
echo Last pause time for U! Think about it then make choice!
echo Will go to pause and press any key to continue!
pause
%exec1%
%exec3%
%exec4%
xmsman -c
echo .................................................................
echo on
goto exit

:WinXP-1
TW /ns
@echo off
echo.
echo First start Chinese support. Note that this program is used for interactive system recovery
echo Have entered the WinXP-1 menu. (Restore last winxp-1.gho back) (Restore the system to the last normal backup file winxp-1.gho)
echo The main purpose of this WinXP program is to restore to the last normal backup file.
echo When you find that the just-created system backup is not as good as the last one when running, please start this recovery function. The program will exchange the names of these two backups, and then restore the system to the previous state.
echo When you create a new backup again, the less normal backup file is sorted to the end, and will be automatically deleted by the system to make room when creating a new backup again.
echo .................................................................
echo Will exit the Chinese environment soon,
echo The following will automatically pause. Press Ctrl+C to interrupt the operation of the recovery program,
echo Press any key to continue. The system will automatically restart after the system recovery is completed!
pause
tw/q
prompt $p$g
set tz=gmt-8
set dircmd=/o:n
set comspec=c:\command.com
set path=c:
set temp=c:
set tmp=c:
xmsman
set hdpmi=16384
SMARTDRV.exe >nul
hdpmi32
echo lh ndos -lfn -mountall -cp:936
ren winxp.gho 0.gho
ren winxp-1.gho winxp.gho
ren 0.gho winxp-1.gho
%exec1%
%exec3%
%exec4%
xmsman -c
goto exit

:WinXP-0
TW /ns
@echo off
echo.
echo .................................................................
echo To facilitate understanding the function of the system recovery program, first start Chinese support
echo Have entered the WinXP-0 menu. (To the Original factory state) (Restore factory settings)
echo The main purpose of this WinXP program is to automatically restore the system to the state when it was installed. Equivalent to the factory state.
echo This backup file was made by the installer when the system was first installed. It is not complete. For example, there is generally no Internet password added, so it cannot automatically access the Internet. The user needs to manually query and enter it.
echo This backup may not necessarily meet the needs of the final user, but at least it is the most streamlined;
echo After the recovery is completed, please reinstall the required software by yourself and make a new backup in WinXP-1,
echo Any operation on the previous four menus will not affect you performing this operation; unless you forcefully delete or destroy this backup file! ^_^
echo .................................................................
echo Will exit the Chinese environment soon,
echo The following will automatically pause once. Press Ctrl+C to interrupt the operation of the recovery program,
echo Press any key to continue. The system will automatically restart after the system recovery is completed!
pause
tw/q
%exec1%
%exec2%
%exec3%
%exec4%
echo 13865551857 Gou Haiyan
goto exit

:RESTART
%exec3%

:off
C:\off.com

:cdrom
c:\MSCDEX.EXE /D:mscd001 /L:D


:exit
Floor6 506212lw Posted 2010-06-25 10:14
新手上路 Posts 8 Credits 16
device=Confect.sys /m
SET PATH=C:\;..;

rem [SETTINGS]
set alHead=6
set align=10,1
set alNote=6
set shortcut=a,1
set color=7,1,9,9
set default=10,30,9
set heading=
set heading= IBM One-click Restore Chinese Menu Welcome to use ^_^
set heading==========================================================
set heading=
set endnote=Use ↑→↓ or ← keys to move the highlight, or use A, B, C ... keys to select main items
set endnote=Use number keys or space bar to set "&" (or clear "&"), use Enter key to confirm.
set endnote=
set endnote==========================================================
set confect=WinXP,Restore computer system;Caution: Restoring the system will overwrite data on the corresponding disk, please make data backups in advance
set option=restoc,Restore C drive from hidden partition;&
set option=restart,Restart machine after restoration;&
set option=off,Shut down machine after restoration;

set confect=dos,Manual operation for instructions and experts;Caution: It doesn't matter to read the instructions, but please pay attention to safety, experts ^_^
set option=dir,Instructions;&
set option=type,Text version instructions;&
set option=restart,Restart after completion;&
set option=off,Shut down after completion;

set confect=Backup,Back up computer system personally;Caution: Before backing up the system, ensure the security and reliability of system data
set option=backc,Back up C drive;&
set option=restart,Restart after backup;&
set option=off,Shut down after backup

set confect=WinXP-1,Restore system to previous normal backup file;Caution: Only use when the previous backup doesn't work properly
set option=restorc,Restore to previous backup;&
set option=restart,Restart after restoration;&
set option=off,Shut down after restoration

set confect=WinXP-0,Restore factory settings;Caution: All settings for this system after taking it home before will be lost!
set option=smart,Load high cache;&
set option=restor0,Restore to the state when installed;&
set option=restart,Restart after restoration;&
set option=off,Shut down after restoration

set confect=cdrom,Enter DOS system;Caution: Contains optical drive

set confect=RESTART,Restart computer

; [WinXP]
; [restoc]
set exec1=ghost -clone,mode=pload,src=c:\winxp.gho:1,dst=1:1 -fx -sure

; [dos]
; [dir]
set exec1=dir *.txt
; [type]
set exec2=type help.txt |more

; [Backup]
; [backc]
set exec1=Ghost -clone,mode=pdump,src=1:1,dst=1:2\winxp.gho -fro -z1 -sure

;[WinXP-1]
; [restorc]
set exec1=ghost -clone,mode=pload,src=c:\winxp.gho:1,dst=1:1 -fx -sure

;[WinXP-0]
; [smart]
set exec1=smartdrv
; [restor0]
set exec2=ghost -clone,mode=pload,src=c:\winxp-0.gho:1,dst=1:1 -fx -sure

; [cdrom]
device=oakcdrom.sys /D:mscd001
device=btcdrom.sys /D:mscd001
device=aspicd.sys /D:mscd001
device=ramdrive.sys /E 2048

; [RESTART]
set exec3=restart.com
; [off]
set exec4=off.com
; [CONFIG]
device=himem.sys /testmem:off

dos=high,umb,auto
fcbshigh=4,0
fileshigh=30
buffershigh=30,0
lastdrivehigh=32
stackshigh=9,256
Floor7 zmj2006 Posted 2010-07-13 19:37
初级用户 Posts 12 Credits 36
I also want to know why everyone isn't speaking
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023