| United States-English |
|
|
|
![]() |
HP Visual User Environment 3.0 User's Guide > Chapter 20 More About FiletypesCreating Filetypes |
|
Creating a filetype involves:
You can use more than one criteria for a filetype. However, you should not use the FILE-PATTERN and PATH-PATTERN criteria in the same filetype.
Example. The Executable_Object_File filetype defined below applies to all files named with .o extensions that are executable (x) and (&) non-directories (!d).
Example. The QS_Source_File filetype defined below applies to all files with .c extensions in subdirectories of /projects/QS on any host.
Example. The Final_pcl_graphics filetype applies to all files named QS*.pcl, located on host hphere, that are read-only (!w) and (&) not directories (!d) and not executable (!x).
Example. The Wingz_data filetype applies to all files with write permission containing the string WNGZ in the first 100 bytes.
Example. The following filetype definition creates a filetype for special "readme" files created by your system administrator that use the naming convention *.rm.
A special Respond action is defined below for the file. It opens a writeable copy of the file in Text Editor. When the file is saved and Text Editor is exited, the file is mailed to the system administrator (mail address sysadmin@utd).
The following steps create a personal filetype for graphics files for the QS project. The typing criteria is based on the entire path— the files must be on system hpaaa in subdirectories of /HomeDirectory/QS/graphics and end in *.tiff.
The following steps create a system-wide filetype for shar-ed files.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||