Board logo

标题: - - 判断磁盘格式fat fat32 ntfs,并转换 [打印本页]

作者: ooaf     时间: 2008-5-3 11:18    标题: - - 判断磁盘格式fat fat32 ntfs,并转换
-

判断磁盘格式fat or fat32 or ntfs, 并转换成ntfs格式

-

作者: abcd     时间: 2008-5-3 11:20
wmic logicaldisk get filesystem

作者: HAT     时间: 2008-5-3 11:54
Microsoft Windows XP
(C) Copyright 1985-2001 Microsoft Corp.

C:\test>convert /?
Converts FAT volumes to NTFS.

CONVERT volume /FS:NTFS

volume Specifies the drive letter (followed by a colon),
mount point, or volume name.
/FS:NTFS Specifies that the volume is to be converted to NTFS.
/V Specifies that Convert should be run in verbose mode.
/CvtArea:filename
Specifies a contiguous file in the root directory to be
the place holder for NTFS system files.
/NoSecurity Specifies the converted files and directories security
settings to be accessible by everyone.
/X Forces the volume to dismount first if necessary.
All opened handles to the volume would then be invalid.