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-25 16:21
中国DOS联盟论坛 » DOS启动盘 & LOGO技术 (启动盘室) » How to make Tianhui resident in memory? View 2,716 Replies 22
Floor 16 Posted 2006-06-05 03:07 ·  中国 上海 金山区 电信
高级用户
★★★
中國DOS聯盟常任參議员
Credits 686
Posts 318
Joined 2005-11-04 13:00
20-year member
UID 77577
Gender Male
Status Offline
It's the same, I've used it and there won't be any impact, it's just that more memory will be occupied
. 繽紛色彩閃出的美麗是因為它沒有分開每種色彩...>/

我的百度空间: BEYOND超越 为什么用DOS
Floor 17 Posted 2006-06-05 07:47 ·  中国 上海 松江区 电信
铂金会员
★★★★
DOS一根葱
Credits 5,493
Posts 2,315
Joined 2006-05-01 10:41
20-year member
UID 54766
Gender Male
From 上海
Status Offline
Originally posted by llm at 2006-6-4 01:12:
Oh my god, before running Ghost, not only Tianhui is loaded, but also ifs.
It's really... too dangerous


Yes, when modifying the properties of *.gho after the one-key GHOST backup of DOS Home is completed, ifs is loaded to find whether there is a *.gho in the NTFS partition

[ Last edited by fastslz on 2006-6-5 at 08:05 ]
Floor 18 Posted 2006-06-05 08:03 ·  中国 上海 松江区 电信
铂金会员
★★★★
DOS一根葱
Credits 5,493
Posts 2,315
Joined 2006-05-01 10:41
20-year member
UID 54766
Gender Male
From 上海
Status Offline
Everyone, do an experiment. In the DOS Home's one-click GHOST, type commands at the prompt:
ifs
tw /q
At this time, when accessing the NTFS partition drive letter, it prompts invalid function.
tw /np cannot run Tianhui at this time.
ifs At this time, the NTFS partition drive letter is +1 on the original drive letter. Use mem to check that there are 2 NDOS and CWSDPR0 running. If run repeatedly until the memory is exhausted and the computer crashes.
Floor 19 Posted 2006-06-05 11:10 ·  中国 重庆 永川区 电信
初级用户
高手高手高高手
Credits 109
Posts 41
Joined 2006-05-23 18:00
20-year member
UID 55873
Status Offline
Friend on the 13th floor, please give me some guidance, please.
Floor 20 Posted 2006-06-05 11:13 ·  中国 重庆 永川区 电信
初级用户
高手高手高高手
Credits 109
Posts 41
Joined 2006-05-23 18:00
20-year member
UID 55873
Status Offline
Give me some guidance, please. Little brother is waiting online.
Floor 21 Posted 2006-06-05 12:35 ·  中国 四川 南充 电信
超级版主
★★★★
我爱DOS
Credits 5,310
Posts 2,044
Joined 2005-09-26 12:00
20-year member
UID 42843
Gender Male
From 四川南充
Status Offline
Using GHOST under Chinese environment DOS seems to have no impact! What I usually do is probably caused by ifs! Or because I exited TW before GHOST and didn't load TW after completion!
Floor 22 Posted 2006-06-06 22:49 ·  中国 上海 松江区 电信
铂金会员
★★★★
DOS一根葱
Credits 5,493
Posts 2,315
Joined 2006-05-01 10:41
20-year member
UID 54766
Gender Male
From 上海
Status Offline
I'm sorry, I didn't see it online and was waiting. I don't like using virtual machines, I play pure DOS, so I came up and faced a black screen :P

Haha, this problem should be answered by Teacher Ge

Actually, I optimized a part of the syntax in GHOST_1B.BAT by myself

rem Set the image to hidden attribute
call x:\ifs\load.bat
for %%a in (c d e f g h i j k l m n o p q r s t u v w) do if exist %%a:\c_pan.gho set a1=%%a
for %%b in (w v u t s r q p o n m l k j i h g f e d c) do if exist %%b:\c_pan.gho set b1=%%b
attrib -a -r -s +h %a1%:\c_pan.gho >nul
attrib -a -r -s +h %a1%:\c_pan???.ghs >nul
attrib -a -r -s +h %b1%:\c_pan.gho >nul
attrib -a -r -s +h %b1%:\c_pan???.ghs >nul
if not exist x:\ifs\CWSDPR0.EXE goto att1
call x:\ifs\unload.bat
rem Display backup successful
......
____________________________________________________________
Change to if there is no *.gho, load ifs and then re-judge?:\c_pan.gho:
rem Set the image to hidden attribute
:1
for %%a in (c d e f g h i j k l m n o p q r s t u v w) do if exist %%a:\c_pan.gho set a1=%%a
for %%b in (w v u t s r q p o n m l k j i h g f e d c) do if exist %%b:\c_pan.gho set b1=%%b
if not exist %a1%:\c_pan.gho goto 2
if not exist %b1%:\c_pan.gho goto 2
attrib -a -r -s +h %a1%:\c_pan.gho >nul
attrib -a -r -s +h %a1%:\c_pan???.ghs >nul
attrib -a -r -s +h %b1%:\c_pan.gho >nul
attrib -a -r -s +h %b1%:\c_pan???.ghs >nul
if not exist x:\ifs\CWSDPR0.EXE goto att1
call x:\ifs\unload.bat
goto 3

:2
call x:\ifs\load.bat
goto 1

:3
rem Display backup successful
.......

[ Last edited by fastslz on 2006-6-6 at 22:51 ]
Floor 23 Posted 2006-06-07 00:33 ·  中国 上海 松江区 电信
铂金会员
★★★★
DOS一根葱
Credits 5,493
Posts 2,315
Joined 2006-05-01 10:41
20-year member
UID 54766
Gender Male
From 上海
Status Offline
Oh...Didn't explain its purpose. Doing this at least skips loading the IFS driver if \c_pan.gho happens to be in FAT32 format, which is more important for the DOS Home One-click GHOST with many users.

The popularity of the NTFS format has led GHOST8.3 to add support for the dst=?:?\*.gho parameter, but it has also brought difficulties in accessing *.gho on NTFS format under DOS. Unfortunately, the NTFS driver under DOS has poor compatibility with Chinese systems.

Currently, I'm still depressed about generating a nul file on the root directory of the NTFS partition after loading IFS and using the >nul parameter.....
Forum Jump: