Assoc Display or modify File name extension Association _dos/bat

Source: Internet
Author: User
Assoc Displays or modifies file name extension associations. If used without parameters, the Assoc command displays a list of all the current file name extension associations.

Grammar
Assoc [. Ext[=[filetype]]]

Parameters
. ext
Specifies the file name extension.
FileType
Specifies the file type to associate with the specified file name extension.
/?
Display Help at the command prompt.
Comments
If a space is used after the equals sign, the file type association of a filename extension is deleted.
Use the ftype command to view the current file type with the open command string defined.
Use the > redirection operator to redirect Assoc output to a text file.
Example
To view the current file type association for file name extension. txt, type:

Assoc. txt

To delete a file type association with file name extension. txt, type:

Assoc. txt=

To view a screen associated with the current file type at once, type:

Assoc | More

To send the assoc output to the Assoc.cfg file, type:

Assoc>assoc.cfg

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.