|
|
||||||
|
|
||||||
|
Associate
Associate is for those of you who would like to customise your file associations from the command prompt, so whether it be adding new file associations or modifying existing ones, it can all be done through a few easy to use command line options. There are six command line options available, for every file association being added or modified, when using Associate, three of which are compulsary and three of which receive default values, if they are not specified. All of the options are described below:
In order to specify the parameter section of any of the options, you must use this syntax, [Option]=Parameter. The parameter must be enclosed in quotes, if the parameter contains either spaces or forward-slashes. To specify a parameter that is enclosed in quotes, and ends with a forward-slash and/or contains quotes, an additional forward-slash, prior to the required forward-slash and/or quote character, is required as an escape character. An example that uses most of the information above is shown below: Associate /CD="Vi&ew" /CN=View /DIS=Notepad.exe,1 /ED="Info File" /FC="Notepad.exe /"%1/"" /FE=.nfo The above example would add or modify the file association for 'nfo' files, so that: its icon is the icon at index one in the notepad executable file; its file type shows as 'Info File' in My Computer etc; a 'View' command would be available on the right-click menu, with 'e' used to form the keyboard shortcut, that when clicked upon would open the currently selected file in Notepad. |
||||||
|