mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-17 23:00:51 +00:00
Move pages under tldr, lint run.sh, update docs
This commit is contained in:
25
tldr/windows/assoc
Normal file
25
tldr/windows/assoc
Normal file
@@ -0,0 +1,25 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, windows]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# assoc
|
||||
|
||||
> Display or change associations between file extensions and file types.
|
||||
> More information: <https://learn.microsoft.com/windows-server/administration/windows-commands/assoc>.
|
||||
|
||||
- List all associations between file extensions and file types:
|
||||
|
||||
`assoc`
|
||||
|
||||
- Display the associated file type for a specific extension:
|
||||
|
||||
`assoc {{.txt}}`
|
||||
|
||||
- Set the associated file type for a specific extension:
|
||||
|
||||
`assoc .{{txt}}={{txtfile}}`
|
||||
|
||||
- View the output of `assoc` one screen at a time:
|
||||
|
||||
`assoc | {{more}}`
|
||||
Reference in New Issue
Block a user