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-06-22 07:21
中国DOS联盟论坛 » DOS批处理 & 脚本技术(批处理室) » [Discussion] How to determine if it is a FAT32 or NTFS file system in batch processing? View 3,126 Replies 19
Floor 16 Posted 2007-05-31 22:03 ·  中国 山西 移动
初级用户
★★
Credits 172
Posts 88
Joined 2006-12-08 10:47
19-year member
UID 72923
Gender Male
Status Offline
omnifs is a tool included with Ghost Enterprise Edition, currently at version v11.0.01502
The content of disk.txt is:
Disk: 1 (37.26GB) M:[37.26GB] S:[MPA245Q2HD7GWA]
1.1: ( 10.04GB) [C:\] Active Volume NTFS
1.2: ( 10.04GB) [D:\] Volume NTFS
1.3: ( 2.01GB) [E:\] Volume NTFS
1.4: ( 5.02GB) [F:\] Volume NTFS
1.5: ( 10.13GB) [G:\] Volume NTFS
1.6: ( 39.19MB) Volume FAT32 l:[ACRONIS SZ]
Disk: 2 (13.99GB) M:[13.99GB]
2.1: ( 10GB) [J:\] Volume NTFS l:[YD02-01]
2.2: ( 3.98GB) Hidden Volume FAT32
( 8.89MB) Unused Space
Disk: 3 (125MB) M:[125MB]
3.1: ( 117.63MB) [I:\] Active Volume FAT16
( 7.34MB) Unused Space
Disk: 4 (15.31MB) M:[15.31MB]
4.1: ( 15.28MB) [K:\] Volume FAT12 l:[CANON_DC] Removable Drive
Disk: 5 (37.27GB) M:[37.27GB]
5.1: ( 8.03GB) [L:\] Volume NTFS l:[YD01-01Ghost]
5.2: ( 12.05GB) [M:\] Volume NTFS l:[YD01-02Softs]
5.3: ( 8.03GB) [O:\] Volume NTFS l:[YD01-04Acronis]
5.4: ( 9.16GB) [N:\] Volume NTFS l:[YD01-03OK]
( 4.46MB) Unused Space
Floor 17 Posted 2007-05-31 22:26 ·  中国 江苏 常州 溧阳市 电信
银牌会员
★★★
Credits 2,404
Posts 946
Joined 2005-09-08 13:44
20-year member
UID 42345
Status Offline
Originally posted by XiaoGuDong at 2007-5-30 21:33:
The simplest method:
@echo off
omnifs info >disk.txt
Open the text file disk.txt to see at a glance!

Is omnifs run under Windows?
Floor 18 Posted 2007-06-02 15:14 ·  中国 山西 太原 联通
初级用户
★★
Credits 172
Posts 88
Joined 2006-12-08 10:47
19-year member
UID 72923
Gender Male
Status Offline
omnifs32 is run under WIN!
Floor 19 Posted 2007-06-02 20:36 ·  中国 河北 唐山 中移铁通
版主
★★★
操作系统爱好者
Credits 1,113
Posts 392
Joined 2002-11-11 00:00
23-year member
UID 228
Gender Male
Status Offline
Although OMNIFS or GDISK are both good, they are too large. Are there any smaller tools?
DOS之家 http://doshome.com 站长 葛明阳
Floor 20 Posted 2007-07-11 16:39 ·  中国 江苏 宿迁 电信
初级用户
★★
Batchs上議院參議長
Credits 199
Posts 105
Joined 2007-06-05 12:00
19-year member
UID 90300
Gender Male
From 江苏
Status Offline
@echo off
echo.
set drive=
set /p drive =Please enter the drive letter of the drive to be detected:
chkntfs %drive%>%temp%\filesystem.txt
type %temp%\filesystem.txt | find "The type of the file system is"
pause>nul
『生如夏花之绚烂
死若秋叶之静美』 dos做到了
Forum Jump: