NT Native子系統(tǒng)小程序命令行用法

眾所周知,Windows NT系列操作系統(tǒng)具有一個(gè)比較底層的子系統(tǒng)環(huán)境,名叫Native子系統(tǒng)
關(guān)于Native子系統(tǒng)是什么可以去Bing (●′?`●)
在此環(huán)境下,Windows(包括今天的Windows 11)自帶3個(gè)能單獨(dú)運(yùn)行的實(shí)用工具autochk.exe, autofmt.exe, autoconv.exe。分別可以磁盤(pán)檢測(cè),格式化分區(qū),轉(zhuǎn)換分區(qū)文件系統(tǒng)等。
其命令行語(yǔ)法和常規(guī)桌面Win32程序不太一樣,且本身也不具有幫助選項(xiàng)。
你可能很天真的去Microsoft Docs去翻,但微軟似乎并不是很想讓你知道這些工具是怎么用的~

微軟似乎并沒(méi)有公開(kāi)文檔化這些程序,但其用法就在源碼注釋明擺著(
Autochk.exe
?autochk [/s] [/dx:] [/p] [/r] nt-drive-name
autochk [/dx:] [/p] [/r] [/m] [/l:size] nt-drive-name
?autochk [/s] /x dos-drive-name
autochk [/k:drives] *
? ? //
?/s - setup: no output
?/d - the drive letter is x:
?/p - check even if not dirty
?/r - recover; implies /p
?/l - resize log file to <size> kilobytes.? May not be combined with
?/s because /s explicitly inhibits logfile resizing.
?/x - extend volume
?/k - a list of drive letters to skip
?/m - remove registry entry after running

? Autofmt.exe
? //? ? ? autofmt [/s] [/q] [/c] /fs:fs-type nt-drive-name
? ? //
? ? //? ? ? /s - setup mode (no output)
? ? //? ? ? /q - quick format
? ? //? ? ? /c - compress filesystem
? ? //? ? ? /fs: - filesystem type (fat or ntfs)

? ? AUTOCONV drive-name /FS:target-file-system [/v] [/s] [/o] [/NAMETABLE:filename]
? ? ? ? /v -- verbose output
? ? ? ? /s -- run from setup
? ? ? ? /o -- pause before the final reboot (oem setup)

來(lái)源:Windows NT 4.0泄露源代碼
又水了一份帖子,好耶