This article is a mirror article of machine translation, please click here to jump to the original article.

View: 12128|Reply: 1

PowerShell displays the program associated with the file extension

[Copy link]
Posted on 12/22/2016 10:34:26 AM | | | |


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, pleaseReply






Previous:Discuz website optimization CSS\JS uses CDN acceleration
Next:Meaning of the percentage sign (%) in PowerShell
Posted on 1/31/2017 12:32:17 PM |
What exactly is the solution?
Disclaimer:
All software, programming materials or articles published by Code Farmer Network are only for learning and research purposes; The above content shall not be used for commercial or illegal purposes, otherwise, users shall bear all consequences. The information on this site comes from the Internet, and copyright disputes have nothing to do with this site. You must completely delete the above content from your computer within 24 hours of downloading. If you like the program, please support genuine software, purchase registration, and get better genuine services. If there is any infringement, please contact us by email.

Mail To:help@itsvse.com