批处理脚本 - 格式化



此批处理命令将格式化磁盘以使用 Windows 支持的文件系统,如 FAT、FAT32 或 NTFS,从而覆盖磁盘的先前内容。

语法

format [drive]

其中驱动器是要格式化的驱动器。

示例

@echo off 
format D:\

输出

使用上述命令,将格式化 D 驱动器。

batch_script_commands.htm
广告
© . All rights reserved.