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 01:15
中国DOS联盟论坛 » DOS启动盘 & LOGO技术 (启动盘室) » [Help] Looking for an NTFSDOS detection program that can be called and exited from a batch file View 835 Replies 4
Original Poster Posted 2005-05-26 00:00 ·  中国 广东 东莞 电信
中级用户
★★
Credits 290
Posts 74
Joined 2005-04-30 00:00
21-year member
UID 38707
Gender Male
From 浙江·金华
Status Offline
Looking for an NTFS FOR DOS detection program that can be loaded in a batch file and then exited after processing is done
For example, in a batch file
@ECHO OFF
........
NTFS4DOS
IF no NTFS-formatted partition is found GOTO END
If it has been loaded and has recognized/mapped the NTFS-formatted partition, then process the required program.......
........
EXIT (exit NTFS4DOS and free memory space)
......
:END
www.deepin.org cpzn.ys168.com
Floor 2 Posted 2005-05-26 00:00 ·  中国 广东 广州 教育网
铂金会员
★★★★
C++启程者
Credits 5,154
Posts 1,827
Joined 2003-07-18 00:00
23-year member
UID 7105
Gender Male
Status Offline
The NTFS issue may be troublesome if you use a direct method.
First take a look and see whether NTFSPRO /? is any help. If its switches can solve it, even better.
If not, then try capturing the screen output to determine whether there is NTFS; if there is, store the NTFS partition as a variable.
You may need character-stream programs like FIND, LMOD, etc.
After that, the rest can be handled with ordinary batch processing.
Floor 3 Posted 2005-05-26 00:00 ·  中国 广东 东莞 电信
中级用户
★★
Credits 290
Posts 74
Joined 2005-04-30 00:00
21-year member
UID 38707
Gender Male
From 浙江·金华
Status Offline
I need to find an NTFS detection program that can be loaded and then exited. NTFS4DOS can be exited at the command prompt, but when loading it requires pressing the ENTER key, so it cannot be called from a batch file, and if I use ECHO.|NTFS4DOS, it hangs
Also, the existing NTFSPro or NTFS4DOS takes up too much memory, and the memory space needs to be freed, otherwise running other programs afterward can easily hang, such as running GHOST
www.deepin.org cpzn.ys168.com
Floor 4 Posted 2005-05-29 00:00 ·  中国 重庆 沙坪坝区 联通
银牌会员
★★★
Credits 2,202
Posts 499
Joined 2003-06-12 00:00
23-year member
UID 4876
Gender Male
Status Offline
My earlier idea was the same as the OP's. I also did it before: used a program to load it, and then according to the return code used the program again to exit it, to determine whether Ntfs exists. I think I used Loadsys, try it yourself.
一年四季,枫叶红了又红;人生四季,失去的,还能再来吗?—— !
Floor 5 Posted 2005-05-30 00:00 ·  加拿大 Bell
初级用户
Credits 130
Posts 6
Joined 2003-09-17 00:00
22-year member
UID 9920
Gender Male
Status Offline
Use QEMM, don't use EMM386 . Emm 386 only provides 32M of Expanded memory. After I used QEMM, loading NTFSPR0 and then running Ghost caused no problems at all o
Forum Jump: