基本介紹
VMCMS
TYPE filename filetype filemode
86-DOS
TYPE file
CPM
TYPE ufn
TYPE X.Y
TYPE X.PLM
TYPE XXX
TYPE B:X.PRN
DOS
類型
語法
TYPE [d:][path]filename
用途
論述
例子
type b:letter3.txt
Windows cmd.exe
type [<drive>:][<path>]<filename>
參數 | 說明 |
---|---|
[<drive>:][<path>]<filename> | 指定要查看的檔案的位置和名稱。 如果<filename>包含空格,則必須用引號 (例如,"包含空格.txt") 。 此外,可以通過在檔案名稱之間添加空格來添加多個檔案名稱。 |
/? | 在命令提示符下顯示幫助。 |
Windows Powershell
名稱
語法
Get-Content
[-ReadCount <Int64>]
[-TotalCount <Int64>]
[-Tail <Int32>]
[-Path] <String[]>
[-Filter <String>]
[-Include <String[]>]
[-Exclude <String[]>]
[-Force]
[-Credential <PSCredential>]
[-Delimiter <String>]
[-Wait]
[-Raw]
[-Encoding <Encoding>]
[-AsByteStream]
[-Stream <String>]
[<CommonParameters>]
Get-Content
[-ReadCount <Int64>]
[-TotalCount <Int64>]
[-Tail <Int32>]
-LiteralPath <String[]>
[-Filter <String>]
[-Include <String[]>]
[-Exclude <String[]>]
[-Force]
[-Credential <PSCredential>]
[-Delimiter <String>]
[-Wait]
[-Raw]
[-Encoding <Encoding>]
[-AsByteStream]
[-Stream <String>]
[<CommonParameters>]
別名
相近的命令
- less