assoc, attrib: update page (#8349)

This commit is contained in:
Emily Grace Seville
2022-08-24 05:20:07 +10:00
committed by GitHub
parent 17b6ad9943
commit 38d904a408
2 changed files with 17 additions and 17 deletions

View File

@@ -1,16 +1,16 @@
# assoc
> Display or modify file extension associations.
> Display or change associations between file extensions and file types.
> More information: <https://docs.microsoft.com/windows-server/administration/windows-commands/assoc>.
- Display all associated filetypes:
- List all associations between file extensions and file types:
`assoc`
- Display the associated filetype for a specific extension:
- Display the associated file type for a specific extension:
`assoc {{.txt}}`
- Modify the associated filetype for a specific extension:
- Set the associated file type for a specific extension:
`assoc {{.txt}}={{txtfile}}`
`assoc .{{txt}}={{txtfile}}`