Forrest logo
back to the assoc tool

assoc:tldr:2074d

assoc: View the output of `assoc` one screen at a time.
$ assoc | ${more}
try on your machine

The command assoc is used in the Windows Command Prompt to display or modify file name extension associations. It associates a file type with a corresponding program that can open or execute it.

The pipe symbol | is used to redirect the output of the assoc command to another command or program. It takes the output of the preceding command and passes it as input to the next command.

In this specific command, the output of the assoc command is being redirected to the more command. The more command is a command-line tool that displays the output of a command one page at a time, allowing you to scroll through it.

So, when you execute assoc | ${more}, it will display the output of the assoc command in a paginated format using more, allowing you to view the file name extension associations page by page.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the assoc tool