批處理指令碼 - 格式化



此批處理命令將格式化磁碟以使用 Windows 支援的檔案系統,如 FAT、FAT32 或 NTFS,從而覆蓋磁碟的先前內容。

語法

format [drive]

其中驅動器是要格式化的驅動器。

示例

@echo off 
format D:\

輸出

使用上述命令,將格式化 D 驅動器。

batch_script_commands.htm
廣告
© . All rights reserved.