Assoc Command with example

Assoc

Purpose:Displays or modifies the current filename extension associations. When
you use this command without any parameters, it displays a list of all filename
extension associations. 

Syntax:ASSOC .ext = [fileType]

Usage:ASSOC allows you to create, modify, or display associations between file extensions and file types stored in the Windows registry.

For example: If you type assoc.txt in cmd it will prompt .txt=txtfile if want to change your text file into excel type assoc.txt=Excel.Sheet.8 then your file changed into excel format.For more formats type assoc and hit enter. 

Comments

Popular posts from this blog

How to use DIR Command

How to use DEL/ERASE Command

How to use ENDLOCAL/SETLOCAL