Peristiwa
Sidang Kemuncak Windows Server
29 Apr, 2 PTG - 30 Apr, 7 PTG
Sertai acara maya Windows Server muktamad pada 29-30 April untuk sesi teknikal mendalam dan Soal Jawab langsung dengan jurutera Microsoft.
Daftar sekarangPelayar ini tidak lagi disokong.
Naik taraf kepada Microsoft Edge untuk memanfaatkan ciri, kemas kini keselamatan dan sokongan teknikal yang terkini.
In the Windows Command shell, type is a built in command which displays the contents of a text file. Use the type command to view a text file without modifying it.
In PowerShell, type is a built-in alias to the Get-Content cmdlet, which also displays the contents of a file, but using a different syntax.
type [<drive>:][<path>]<filename>
Parameter | Description |
---|---|
[<drive>:][<path>]<filename> |
Specifies the location and name of the file or files that you want to view. If your <filename> contains spaces, you must enclose it in quotation marks (for example, "Filename Containing Spaces.txt"). You can also add multiple filenames by adding spaces between them. |
/? | Displays help at the command prompt. |
To display the contents of a file named holiday.mar, type:
type holiday.mar
To display the contents of a lengthy file named holiday.mar one screen at a time, type:
type holiday.mar | more
Peristiwa
Sidang Kemuncak Windows Server
29 Apr, 2 PTG - 30 Apr, 7 PTG
Sertai acara maya Windows Server muktamad pada 29-30 April untuk sesi teknikal mendalam dan Soal Jawab langsung dengan jurutera Microsoft.
Daftar sekarang