User Tools

Site Tools


jvs:fscan:manual:chapter2:setfilename

This is an old revision of the document!


fScan Reference Manual, Chapter 2 (CmdLineOptions): set filename

Set Filename -- Browse directories to set a user-defined string to a filename

usage:
-set filename varbname value [Promptstring Flag Matchstr Rootdir]

The SET FILENAME command creates a user-defined variable called VARBNAME and sets it to a file or directory name found via an interactive file browsing window.

FLAG:

  • 1 - ADDROOT: add the root directory '/' to the browse window
  • 2 - ADDBACK: add the parent directory '..' to the browse window
  • 4 - FILETYPE: add filetype character before each file name
  • 8 - ATROOT:
  • 16 - SORT:
  • 32 - ACCESS: only include files in browser if the user has access permission
  • 64 - ROOTDIR: don't allow search above starting directory
  • 128 - MULTIPLE: allow multiple files to be selected
  • 256 - SORTFILETYPES: list directories first, then regular files
  • 512 - NEWLIST:
  • 1024 - 1STRING: return selected file(s) as single line string
  • 0 - Default: ADDBACK + FILETYPE + SORT + 1STRING
  • -1 - ADDBACK + FILETYPE + SORT + 1STRING + MULTIPLE

See Also:
Set, Table

fScan Home, fScan Manual, CmdLineOptions, Manual Help

jvs/fscan/manual/chapter2/setfilename.1376332753.txt.gz · Last modified: 2014/08/04 16:03 (external edit)