Hamilton LaboratoriesHamilton C shell 2012User guideExternal utilities


Oregon Coast

Previous | Next

        File Selection Dialog Box

Usage:  filebox [-acmnopQsh-] [-i dir] [-e ext] [-f type pattern] [-i file]
      [-I index] [-t title]

   filebox displays an Explorer-style file selection dialog box
   with either an Open or a Save button.  Any files selected are
   written, one per line, to stdout.


   -a         File must exist.  (Open dialog only.)
   -c         Ask if file is to be created.  (Open dialog only.)
   -e type pattern  Default extension if none specified.  (Save
                    dialog only.)  This type default extension
                    is automatically added to the head of the list
                    of filetype filters.
   -f type pattern  Filetype filter.  If none specified, default
                    is '-f All files "*.*"'. To specify multiple
                    patterns for one type, use semicolons to separate
                    them, e.g., '-f "C Language" "*.c;*.h"'.  Multiple
                    filters may be specified with multiple -f options.
   -F file    Initial filename.
   -i dir     Initial Directory.
   -I index   Initial index in filters.
   -m         Multiple files may be selected.
   -o         Verify overwrite if saving (-s).
   -p         Leading path must exist.
   -Q         Quote filenames that contain any of these special
              characters,all of which have significance to the
              C shell:  space, (), [], {}, ~, ; and &.  (The quotes
              can be stripped off using the eval command.)
   -s         Save dialog.
   -t title   Title.
   -h         Help.  (This screen.)
   --         End of options.

Previous | Next