Search notes:

cmd.exe - assoc

assoc allows to display or modify the associations between a filename extension (suffix) and its filetype.
The following command displays the filetype for the suffix .vbs:
C:\> assoc .vbs
.vbs=VBSFile
assoc can then be used to return a more friendly name for the filetype.
C:\> assoc VBSFile
VBSFILE=VBScript Script File
ftype can be used to reveal what program is used by default to start a file with a given extension:
C:\> ftype VBSFile
VBSFile="%SystemRoot%\System32\WScript.exe "%1" %*

See also

ftype
show-winFileExtAssociation
HKEY_CLASSES_ROOT\.ext
assoc is affected by whether command extensions are enabled or disabled.
Windows Settings: Choose default apps by file type
cmd.exe: Built-in commands

Index

Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php:78 Stack trace: #0 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(78): PDOStatement->execute(Array) #1 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(30): insert_webrequest_('/notes/Windows/...', 1759952832, '216.73.216.10', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/Windows/dirs/Windows/System32/cmd_exe/commands/assoc/index(66): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78