FTYPE

2008 Oct 18


Name ftype
Ver 95 ...
View or edit the open comand string for a given file extension.
Syntax ftype FileType[=param] [/?]
Optional
Parameters
and Switches
FileType Specifies a file type as with the assoc command
param Specifies parameters for the file type, e.g.
   ftype exefile="%1" %*
Notes
1) To display a list of current file type open strings, type ftype at the
   command prompt, and then press ENTER.
2) The command ftype exefile returns
      exefile="%1 %*
   which corresponds to the contents for the key:
      HKEY_CLASSES_ROOT\exefile\shell\open\command
   This tells the system that the file with the .exe extension will be run
   will all agrguments available at the command line. Some malware changes
   this so that the malware is executed each time an executable file is
   launched. The administrator can fix this by typing the command:
      ftype exefile="%1" %*
See also
ASSOC

External Links: Ref1


© 2005 Prem Sobel. All Rights Reserved.