However, Windows does need to know this information when
working with files in the GUI. Whenever a user double-clicks a file, Windows looks up the file association
based on the file extension, locates the file type information, and then executes an application
to load the file based on what it finds. Consequently, knowing something about the file associations
and types on your system is important, but it isn??™t something that you??™ll use from the command
prompt.
Windows provides two commands for working with file associations and types. You use the
Assoc command to determine and set the file associations. The file association connects a specific
file type with an extension. The FType command defines the file type information. For example,
you can specify what happens when a particular file type receives a request to open a file. The file
types all rely on verbs, action words, to define specific tasks. The most common of these verbs are
open and print, but depending on the file type, you might find many others.
The Assoc and the FType commands work together to show the relationships between file
extensions and file types, and to allow you to modify these relationships.
Pages:
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921