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-08-15 20:39
中国DOS联盟论坛 » DOS疑难解答 & 问题讨论 (解答室) » What command can display the file system type, such as FAT32 or NTFS? View 1,443 Replies 4
Original Poster Posted 2009-02-08 12:34 ·  中国 甘肃 平凉 电信
初级用户
Credits 38
Posts 39
Joined 2009-01-31 10:43
17-year member
UID 137685
Gender Male
Status Offline
What command can display the file system type, such as FAT32 or NTFS?

[ Last edited by slx8528 on 2009-2-8 at 17:21 ]
Floor 2 Posted 2009-02-08 12:45 ·  中国 四川 成都 电信
新手上路
Credits 19
Posts 8
Joined 2009-02-04 00:44
17-year member
UID 137975
Gender Male
Status Offline
chkdsk
or
diskmgmt.msc
Recent Ratings for This Post ( 1 in total) Click for details
RaterScoreTime
slx8528 +1 2009-02-08 17:18
Floor 3 Posted 2009-02-08 13:34 ·  中国 上海 杨浦区 电信
金牌会员
★★★★
Credits 4,639
Posts 2,239
Joined 2005-01-30 00:00
21-year member
UID 35785
Gender Male
Status Offline
FAT32 and NTFS are not called disk system types; they are called file system types.

gdisk can identify and display most file system types.
Floor 4 Posted 2009-02-08 17:18 ·  中国 甘肃 平凉 电信
初级用户
Credits 38
Posts 39
Joined 2009-01-31 10:43
17-year member
UID 137685
Gender Male
Status Offline
Thanks
Floor 5 Posted 2009-02-08 18:24 ·  中国 重庆 电信
版主
★★★★★
Credits 9,023
Posts 5,017
Joined 2007-05-31 19:39
19-year member
UID 89899
Gender Male
Status Offline
type nul>"C:\isntfs.txt"&&cacls "C:\isntfs.txt" /g everyone:f /e>nul&&echo NTFS partition||echo non-NTFS partition


(chkntfs C:|findstr /i "NTFS")||(chkntfs C:|findstr /i "FAT32")


wmic logicaldisk where name='C:' get FileSystem /value


@echo off
for /f "skip=3 delims=/" %%a in ('fsutil fsinfo volumeinfo C:\') do (
echo %%a
goto :eof
)
Forum Jump: