中国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-10-28 01:09
47,815 topics / 349,929 posts / today 1 new / 48,290 members
DOS启动盘 & LOGO技术 (启动盘室) » [Help] Looking for an NTFSDOS detection program that can be called and exited from a batch file
Printable Version  871 / 4
Floor1 xusen Posted 2005-05-26 00:00
中级用户 Posts 74 Credits 290 From 浙江·金华
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
Floor2 GOTOmsdos Posted 2005-05-26 00:00
铂金会员 Posts 1,827 Credits 5,154
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.
Floor3 xusen Posted 2005-05-26 00:00
中级用户 Posts 74 Credits 290 From 浙江·金华
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
Floor4 xiaojun Posted 2005-05-29 00:00
银牌会员 Posts 499 Credits 2,202
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.
Floor5 tigs Posted 2005-05-30 00:00
初级用户 Posts 6 Credits 130
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
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023