User Tools

Site Tools


jvs:fscan:manual:chapter2:setfilename

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
jvs:fscan:manual:chapter2:setfilename [2013/08/12 18:39]
voyvodic created
jvs:fscan:manual:chapter2:setfilename [2023/02/23 18:43] (current)
Line 6: Line 6:
 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. 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:+The FLAG argument can be used to control search options.\\ 
 +FLAG (octal values are listed; add positive values to combine options):\\
   * 1 - ADDROOT: add the root directory '/' to the browse window   * 1 - ADDROOT: add the root directory '/' to the browse window
   * 2 - ADDBACK: add the parent directory '..' to the browse window   * 2 - ADDBACK: add the parent directory '..' to the browse window
   * 4 - FILETYPE: add filetype character before each file name   * 4 - FILETYPE: add filetype character before each file name
-  * - ATROOT: +  * 010 - ATROOT: 
-  * 16 - SORT: +  * 020 - SORT: sort the list alphabetically 
-  * 32 - ACCESS: only include files in browser if the user has access permission +  * 040 - ACCESS: only include files in browser if the user has access permission 
-  * 64 - ROOTDIR: don't allow search above starting directory +  * 0100 - ROOTDIR: don't allow search above starting directory 
-  * 128 - MULTIPLE: allow multiple files to be selected +  * 0200 - MULTIPLE: allow multiple files to be selected 
-  * 256 - SORTFILETYPES: list directories first, then regular files +  * 0400 - SORTFILETYPES: list directories first, then regular files 
-  * 512 - NEWLIST: +  * 01000 - NEWLIST: 
-  * 1024 - 1STRING: return selected file(s) as single line string+  * 02000 - 1STRING: return selected file(s) as single line string 
 +  * 04000 - REGFILES: include regular files  
 +  * 0100000 - NOBROWSE: find all files in ROOTDIR without opening a browser window 
 +  * 0200000 - DIRS: only list directories 
 +  * 0400000 - NODIRS: do not list directories
   * 0 - Default: ADDBACK + FILETYPE + SORT + 1STRING   * 0 - Default: ADDBACK + FILETYPE + SORT + 1STRING
   * -1 - ADDBACK + FILETYPE + SORT + 1STRING + MULTIPLE   * -1 - ADDBACK + FILETYPE + SORT + 1STRING + MULTIPLE
 +
 +**Note:** Use the [[jvs:fscan:manual:chapter2:table|Table]] command to create a list of file or directory names without going through the interactive browse window.
  
 **See Also:**\\ **See Also:**\\
jvs/fscan/manual/chapter2/setfilename.1376332753.txt.gz · Last modified: 2014/08/04 16:03 (external edit)