Display or modify file extension associations
ASSOC [.ext[=[fileType]]]
.ext specifies the file extension associated with the file type fileType specifies the file type associated with the file extension
Type ASSOC without parameters to display the current file association. If only the file extension is used name calls ASSOC, and the current file association for that file extension is displayed. If not The file type specifies any parameter and the command removes the association of the file extension.
Demand:
Find out which program .7z extension is associated with
PowerShell has two ways to find out which program corresponds to a file extension.
The code is as follows:
Tourists, if you want to see the hidden content of this post, please Reply
|