As mode and more, format is a false .com (for compatibility purposes).

svn path=/trunk/; revision=62548
This commit is contained in:
Hermès Bélusca-Maïto
2014-03-23 01:16:19 +00:00
parent 918e8924e7
commit 65ce2df6df
3 changed files with 11 additions and 9 deletions
@@ -1,5 +1,7 @@
add_executable(format format.c format.rc)
set_module_type(format win32cui)
set_target_properties(format PROPERTIES SUFFIX ".com")
add_importlibs(format user32 fmifs msvcrt kernel32 ntdll)
add_cd_file(TARGET format DESTINATION reactos/system32 FOR all)
+2 -2
View File
@@ -2,9 +2,9 @@
#include "resource.h"
#define REACTOS_STR_FILE_DESCRIPTION "Formating a device with a filesystem"
#define REACTOS_STR_FILE_DESCRIPTION "Disk Format Utility"
#define REACTOS_STR_INTERNAL_NAME "format"
#define REACTOS_STR_ORIGINAL_FILENAME "format.exe"
#define REACTOS_STR_ORIGINAL_FILENAME "format.com"
#include <reactos/version.rc>
/* UTF-8 */
@@ -1,22 +1,22 @@
[]=================================[format.exe]==============================[]
[]=================================[format.com]==============================[]
Author: Mark Russinovich
Purpose: Disk formating tool
Purpose: Disk Format Utility
Port on ROS: Emanuele Aliberti
License: GPL
Usage: format.exe drive: [-FS:file-system] [-V:label] [-Q] [-A:size] [-C]
Usage: format.com drive: [-FS:file-system] [-V:label] [-Q] [-A:size] [-C]
[drive:] Specifies the drive to format.
-FS:file-system Specifies the type of file system (e.g. FAT).
-V:label Specifies volume label.
-Q Performs a quick format.
-A:size Overrides the default allocation unit size.
Default settings are strongly recommended for general
use NTFS supports 512, 1024, 2048, 4096, 8192, 16K,
32K, 64K. FAT supports 8192, 16K, 32K, 64K, 128K, 256K.
Default settings are strongly recommended for general
use NTFS supports 512, 1024, 2048, 4096, 8192, 16K,
32K, 64K. FAT supports 8192, 16K, 32K, 64K, 128K, 256K.
NTFS compression is not supported for allocation
unit sizes above 4096.
unit sizes above 4096.
-C Files created on the new volume will be compressed by
default.