© Copyright Clive E. Chapman 2008. All rights reserved. |
The command prefix character is the most-used of FL's special characters. It makes sense therefore to choose a character that:
Keyboard layouts vary markedly between countries, but on the UK keyboard the single apostrophe (') and the hash ("#") are good choices; the semicolon (";"), comma (","), and square brackets ("[" and "]") are also worth considering.
Using FLCUST you can choose whatever character you prefer for the command prefix character, so you may be wondering what difference this change makes. In fact it makes only one difference: it affects the documentation. In version 5.00, all of the documentation has been changed to use the new command prefix character (except where the problems of using "/" are illustrated).
So, what is the new default command prefix character? It is this:
This character is also known as the "pound" character in some parts of the world.
As each command is processed, FL checks the first blank-delimited word in the command, and if it is a synonym, the synonym is replaced by the text defined for that synonym. Note that FL does not check the replacement text for a synonym, so one synonym cannot invoke another synonym.
The synonym name is a string of non-blank characters, one to eight bytes in length. The synonym name is not case sensitive, and can contain any typable non-blank character (the name is not limited to alphabetics and numerics).
The replacement text for the synonym is a string of up to 60 characters. All characters are valid in this string, including blanks. In many cases the replacement text is the name of the command to be invoked, but it can also include options or fixed parameters (provided it is valid for these to precede the parameters typed on the FL command line or automatically appended by FL). Note however that FL's command joiners (#&, #&&, and #||) are not valid in the replacement text.
Usage notes:
For example, if you normally want to omit files and directories that have the hidden (H) or system (S) attributes, specify "/A:-HS" as the attribute selection option in the replacement text (see examples below). Then, on the rare occasions when you want to include files and directories that have the hidden or system attributes, simply specify the /A option without any value when you type the #A, #R. or #W command; this overrides the option contained in the replacement text.
For example, if you want to specify attribute selection options as described above, you can define a synonym called #R that invokes the FL command #R with the required attribute selection option.
For example, you could define R as a synonym for #R, S as a synonym for #S, and so on. You need to choose synonym names that will not conflict with the names of other commands on your system (operating-system commands, tools, or applications), as the FL synonym always takes precedence.
The definition for MD uses the #O (Omit) command, which means that you cannot construct the name of the new directory from parts of the filespec on the line where the command is entered – you must always type the name in full (including any path if the directory is not to be created in the current directory).
The definition for RD uses the /S and /Q options of the RD command, which cause all files and sub-directories in the specified directory to be deleted, without asking for confirmation. In this case, the filespec of the directory deleted is that of the line where the command is typed. If you want to be asked for confirmation before the directory is deleted, omit the /Q option.
Examples:
Note: for display on this page, long definitions have been split over two lines (indicated by the ellipsis "..."). However, on the Synonyms panel each definition must be contained entirely on one line.
Synonym | Replacement Text |
---|---|
c | copy |
ab | !"c:\program files\adobe\acrobat 6.0\...
...reader\acrord32.exe" |
wp | !"c:\program files\windows nt\...
...accessories\wordpad.exe" |
#a | #a /a:-hs |
#r | #r /a:-hs |
#w | #w /a:-hs |
md | !#o md |
rd | !rd /s /q |
F.BAT %APPDATA% %HOMEDRIVE%%HOMEPATH%
In the new release you can do the same thing with commands typed on the FL command line. Examples:
#R %APPDATA% %HOMEDRIVE%%HOMEPATH% #A %WINDIR%
FL processes each command line as follows:
Hence it is possible for a synonym's replacement text to contain one or more environment variables, and for the value of an environment variable to contain a command name, command parameters, or command options.
If the command contains two or more occurrences of the percent character, FL checks if the first and second occurrences identify an environment variable. If they do not, FL then checks the second and third occurrences, and then the third and fourth occurrences, and so on. Percent characters are removed only if they delimit an environment variable.
Usage notes:
!#r #\*.* #|| %editor% #
Outside FL you set the environment variable "editor" to the filespec of the file editor that you want to use for that session.
In the new release, the inheritance capabilities are extended, but must now be requested explicitly, by using the new /I (Inherit) option. This capability is also added to the #A and #W commands (previously no inheritance occurred for these commands). The syntax of the /I option is as follows, where [ ] denote optional items:
/I[:][A][D][F][T][Z][*][0]
Note: the "0" above is the numeric digit zero, not a capital letter "O". The option values have the following meanings:
Option value | Meaning |
---|---|
A | Inherit the attributes filter |
D | Inherit the date and time filter |
F | Inherit the file-pattern filter |
T | Inherit the tree filter |
Z | Inherit the size filter |
* | Inherit all filters |
0 | Inherit no filters |
"/I:0" is the default if the /I option is not specified, and "/I:*" is the default if the /I option is specified without a value.
Inheritance is useful when you want successively to refine a list, that is, apply a succession of filters one after the other in order to create a shorter, more-specific list. Example:
#r c:\*abc*.* /t #r /i /d:2005-20051231235959 #r /i /z:100k #r /i /a:a
Usage notes:
The following example illustrates what happens when various alternative commands are used as the third command of a set of three:
First two commands | Valid? | Description |
---|---|---|
#R *.c /D:*** /Z:10k | Yes | Build list |
#A *.h /D:*** /Z:1k | Yes | Add to list |
Third command | Valid? | Description |
#R /I | Yes | Inherit all filters |
#R /I:F | Yes | Inherit file patterns only |
#R /I:FDZ | Yes | Inherit file patterns, date filter, size filter |
#R /I:D | Yes | Inherit date filter only |
#R /I:Z | No | More than one size filter exists |
Version 4.08 introduced the ability to define a function key to be a tree-mode toggle, by assigning the command "#R /T:+" to a function key. With the introduction of inheritance, the command to perform the tree mode toggle is now "#R /I /T:+".
Occurrences of "#R" without file patterns will be changed in your profile to "#R /I" when you migrate your profile using FLCUST.
FL C:\ /T /D:***
The "***" denotes current year, current month, and current day-of-month, while the omitted components (hour, minute, and second) default to "000000". To list all files and directories that have been created or changed since midday, use:
FL C:\ /T /D:***12
In this example, the hour is specified ("12"), while the omitted components (minute and second) default to "0000".
Although there is intrinsic value in this change (the command no longer seems to be ignored), the greater benefit comes from assigning the following definition to a function key:
#W+ #|| #W *.*
If this function key is pressed when there are two or more windows, the next window is made the current window. Because the command "#W+" succeeds, the command "#W *.*" is not executed. However, if the function key is pressed when there is only one window, the command "#W+" fails, and this causes the command "#W *.*" to be executed. This creates a new window listing all of the files and directories in the current directory.
You can specify any filespec in place of "*.*". For example, if your data drive is "D:", you could specify "D:\" as the filespec in order to open the new window in the root directory of your data drive. If no filespec is specified, "*.*" is assumed.
Note: the windows referred to here are FL windows (created by FL in response to the #W command), not operating-system windows. The FL window number is shown in the top left corner if there is more than one window.
#M | [C {0|1|+|-} ] |
[D {0|1|+|-} ] | |
[F {0|1|2|3|+|-} ] | |
[K {0|1|2|3|4|+|-} ] | |
[P {0|1|2|+|-} ] | |
[T [A|F|L|M|P|U|W|+|-] ] | |
[X [0|1|+|-] ] |
The parameters are all optional and can be specified in any order. Note that for the T and X parameters, the parameter value is also optional. If the parameter value is not specified, the current setting of that parameter is displayed. The parameters control the following:
Parameter | Description |
---|---|
C | Column layout |
D | Drive-info line |
F | Fullspec lines |
K | F-key lines |
P | Panel layout |
T | Text mode |
X | Execution mode |
The parameter values have the following meanings:
Parameter | Value | Description |
---|---|---|
all | + | Change to next higher value |
- | Change to next lower value | |
C | 0 | Show file size, date, and time. |
1 | Show file drive and path. | |
D | 0 | Do not show the drive-info line. |
1 | Show the drive-info line. | |
F | 0 | Do not show the full-filespec lines. |
1 | Show the full-filespec lines without a box. | |
2 | Show the full-filespec lines with half a box. | |
3 | Show the full-filespec lines with a full box. | |
K | 0 | Do not show any F-key lines. |
n | Show "n" F-key lines (n=1 to 4). | |
P | 0 | Show subset of file data, with command field for each line. |
1 | Show all file data, with one command field for the panel. | |
2 | Show file names in multi-column format, with one command field for the panel. | |
T | A | (ASIS) Show filespec as stored by the file system. |
F | (FIRST) Show each filespec component in lower case with an upper-case first letter. | |
L | (LOWER) Show filespec in lower case. | |
M | (MIXED) If filespec component contains at least one lower-case letter, show component as stored by the file system (ASIS), otherwise show each word in component in lower case with an upper-case first letter (WORD). | |
P | (PROFILE) Show filespec as defined in the profile. | |
U | (UPPER) Show filespec in upper case. | |
W | (WORD) Show each word in filespec in lower case with an upper-case first letter. | |
omitted | Display the current text-mode setting. | |
X | 0 | Stop at first line that results in a non-zero return code. |
1 | Continue executing lines regardless of the success or failure of the commands on each line. | |
omitted | Display the current execution-mode setting. |
Usage notes:
Note: "panel layout" was called "screen mode" in previous releases.
#M P+(0,1)
To cycle the text mode between ASIS, LOWER, and WORD, use:
#M T+(A,L,W)
F.BAT C:\ /T /S:P /Z:10M >BIGFILES.TXT
In this example, /S:P (Sort by Path) has been specified, but this results in an unexpected ordering in the disk file. The following example illustrates what can result when /S:P is specified:
F:\photos\digital F:\photos\film F:\photos\memcard F:\photos\digital\animals F:\photos\digital\people F:\photos\digital\places F:\photos\digital\plants F:\photos\digital\animals\birds F:\photos\digital\animals\insects F:\photos\digital\animals\mammals F:\photos\digital\animals\birds\robins F:\photos\digital\animals\birds\robins\b000306.jpg
This apparently wrong ordering results because the major sort performed on the files is sort by path, and the subsequent minor sorts do not correct the problem already introduced by the major sort. To obtain the correct ordering, the whole filespec needs to be sorted as a single entity – specifying /S:PNE as the sort option would not produce the desired result.
In the new release, the W sort code is introduced. This sort code causes the list to be sorted using the whole filespec. Since this determines the ordering completely, no minor sort codes can be specified (they would have no effect). However, the "+", "–", and "R" sort suffixes can still be used.
/S:W is primarily intended for use when outputting the file list to a disk file. Although /S:W is valid on the FL panel, it results in an ordering that is not very useful.
In the new relese, Z is added as an alias of the S parameter on the #S command, so both "#S:S" and "#S:Z" will sort by size.
These changes also apply to the /S (Sort) option of the #A, #R, and #W commands.
#ATTR #ATTR attrs #ATTR +attrs #ATTR -attrs
where "attrs" is one or more of the attribute letters "AHRS" (denoting archive, hidden, read-only, and system, respectively). The attributes can be specified in any order, and in upper or lower case. The special character "*" (denoting all four attributes) can also be used. Note that the directory attribute cannot be changed using the #ATTR command; however, if the "D" attribute is specified, it is accepted but ignored. The various forms of this command are as follows:
The "+" and "-" specifications can be used together, with no intervening blanks. Example:
#ATTR +rh-a
This switches on the read-only and hidden attributes, switches off the archive attribute, and leaves unchanged the system attribute.
#DATE [YYYYMMDDhhmmss | *] #DATE /D [YYYYMMDD | *] #DATE /T [hhmmss | *] #DATE /F "filespec"
where "YYYYMMDDhhmmss" is a 14-digit number specifying year (YYYY), month (MM), day of month (DD), hour (hh), minute (mm), second (ss). The special character "*" can be used for any of these components where the current value is wanted (example: "#DATE ***120000" sets the file date and time to midday today). The various forms of this command are as follows:
Note that on FAT disks (FAT12, FAT16, FAT32), times are stored with a resolution of two seconds. Hence if you specify for a file on a FAT disk a value for "ss" that is not a multiple of two, it is adjusted down to the next lower multiple of two.
#PATH ["newpath"] [/R]
The file or directory is moved from its current location to the location specified by "newpath". If "newpath" is not fully specified, it is resolved using the usual rules. Relative directory notation is valid, but wildcard characters are not. If "newpath" contains blanks or other special characters, it must be enclosed in double quotes; in other cases the double quotes are optional.
Note that the #PATH command can move directories as well as files, and that it can move them between directories on different drives, as well as between directories on the same drive.
If "newpath" is omitted, the existing path of the file or directory is displayed so that it can be modified to construct the new path. The FL command line is only 60 characters in length, so if the data displayed results in a command line that is too long, the excess characters are discarded and the "+" symbol appended to indicate that information is missing.
If the new filespec is identical to an existing filespec, the command fails. The /R (Replace) option can be specified to cause the existing file or directory to be deleted before the move is performed.
Caution: if the file list contains files from more than one directory (for example, because you are operating in tree mode), relative directory notation by itself operates with respect to the current directory on the current drive (the one shown at the top left of the screen). If you want to move the file or directory relative to its own path, you must use the #P substitution code. Examples:
What you type | What FL does |
---|---|
#path .. | File is moved from its drive to the parent directory of the current directory on the current drive. |
#path #p.. | File is moved to the file's parent directory. |
#path #p..\old | File is moved to the directory "old" which resides in the file's parent directory. |
#path ..\.. | File is moved from its drive to the grand-parent of the current directory on the current drive. |
#path x:.. | File is moved from its drive to the parent directory of the current directory on the X: drive. |
The #PATH command can sometimes fail when applied to a directory, even though the command is syntactically correct. This is caused by the directory being in use in another operating-system window (the directory to be changed is the current directory in the other window, or is on the path to the current directory in the other window). The solution is to change the current path in the other operating-system window so that the directory to be changed is no longer in use. Microsoft Windows adds a further complication, due to its idiosyncratic directory-management model. Without going into details, the simple solution is to exit from FL in all operating-system windows, ensure that the directory to be changed is not in use in any of them, and then restart FL and re-issue the command.
#FILE ["newname.newext"] [/R] #NAME ["newname"] [/R] #EXT ["newext"] [/R]
The "name.ext" part of the filespec is changed to "newname.newext", as appropriate for the command used. If the new name or extension contains blanks or other special characters, the parameter must be enclosed in double quotes; in other cases the double quotes are optional.
For the #EXT command, "newext" must not begin with a dot. To remove the extension from a filespec, specify the null string "" as the parameter on the #EXT command.
If the parameter is omitted, the existing name and/or extension of the file or directory is displayed so that it can be modified to construct the new name and/or extension. The FL command line is only 60 characters in length, so if the data displayed results in a command line that is too long, the excess characters are discarded and the "+" symbol appended to indicate that information is missing.
If the new filespec is identical to an existing filespec, the command fails. The /R (Replace) option can be specified to cause the existing file or directory to be deleted before the rename is performed.
The #FILE, #NAME, and #EXT commands can sometimes fail when applied to a directory, even though the command is syntactically correct. This is caused by the directory being in use in another operating-system window (the directory to be changed is the current directory in the other window, or is on the path to the current directory in the other window). The solution is to change the current path in the other operating-system window so that the directory to be changed is no longer in use. Microsoft Windows adds a further complication, due to its idiosyncratic directory-management model. Without going into details, the simple solution is to exit from FL in all operating-system windows, ensure that the directory to be changed is not in use in any of them, and then restart FL and re-issue the command.
RENAME CONFIG.SYS *.*OLD
In this command, the new filespec "CONFIG.SYSOLD" is constructed from the old filespec "CONFIG.SYS" by using the pattern "*.*OLD" to control the picking of characters from the old filespec. Note that the name and extension are processed separately. In the following description, "string" is used to denote either the name or extension.
The new string is generated by scanning the pattern from left to right, and copying characters from the old string to the new string, according to the characters present in the pattern. The characters in the pattern have the following meanings:
There is one special case. If one or more "<" characters immediately follow the "*" character in the pattern, both the scan pointer in the old string AND the scan pointer in the new string are moved to the left. This action has the effect of erasing one or more characters at the end of the new string. As soon as some other character is found in the pattern, "<" reverts to its usual action of backspacing only the scan pointer in the old string.
The following table illustrates how the wildcard and control characters can be used to achieve particular results:
What you want to do | What you specify for the pattern |
---|---|
Use old string in its entirety | * |
Prefix old string with "ABC" | ABC* |
Suffix old string with "XYZ" | *XYZ |
Remove 3 chars at start of old string | >>>* |
Remove 3 chars at end of old string | *<<< |
Change 3 chars at start of string to "ABC" | ABC>>>* |
Change 3 chars at end of string to "XYZ" | *<<<XYZ |
Interchange 2nd and 3rd chars in string | ?>?<<?>* |
Interchange 2nd-to-last and 3rd-to-last chars | *<<<>?<<?>? |
Although this enhanced name generation can be used for a single file, it is of most use when you want to apply the same change to all of the files that are named in a similar way. Proceed as follows:
In the new release this action is enhanced further, by not storing any command line which is already in the command stack – the commands in the stack are simply re-ordered. The size of the command stack is fixed, so command lines are not retained indefinitely.
Note that commands that originate from the function keys or ALT/CTRL alphabetic keys are not stored in the command stack.
In the new release, the previous-command buffer retains only command lines which modify (or potentially modify) the files or directories in the list; these are:
If a command line contains one or more commands in the categories shown above, the command line is stored in the previous-command buffer. No other FL commands are stored in the previous-command buffer; this includes commands such as #R (Refresh), #W (Window), #M (Mode), and #S (Sort).
In the new release, the command line is echoed only if the command line contains one or more commands which modify (or potentially modify) the files or directories in the list. This is the same convention as that used for the previous-command buffer, and leads to the following simple rule:
This action is revised in the new release by adding a third condition:
This means that if you want to re-execute the previous command (which is displayed in the field prefixed with an asterisk), you can use either the DELETE key to remove the "*", or the SPACE-BAR to overtype the "*" with a blank.
Panel layout | Column layout | Left of panel | Centre of panel | Right of panel |
---|---|---|---|---|
0 | 0 | Name.ext | Command field | Size/date/time |
0 | 1 | Name.ext | Command field | Path |
1 | 0 | Name.ext | Path | Size/date/time |
1 | 1 | Name.ext | Size/date/time | Path |
2 | Either | Name.ext | Name.ext | Name.ext |
The column layout is set as follows:
Note: if you create a list in tree mode, but the panel shows column layout 0 instead of 1, it means that files satisfying your selection criteria were found in only one directory.
Essentially, after allowance has been made for the attribute, size, date, and time columns, the space remaining is split into two equal halves, one for the file column and the other for the path column. However, if one column has unused space, while the values in the other column are truncated, the unused space is moved to the column that needs it, in order to minimise the amount of truncation required.
The profile option "max width of file column" is ignored for panel layout 1 (and also for panel layout 2), but the "min width of file column" and "min extension when truncated" options apply as normal.
If you want a plain separator column (no vertical line) in a contrasting color (as supported in previous releases), define the foreground color for the column separators to be the same as the background color.
If you want the vertical line only, without a contrasting separator column, define the background color for the column separators to be the same as the background color for normal text.
Introduction of the #ATTR, #DATE, #EXT, #FILE, and #NAME commands has clearly illustrated that delaying screen update serves no useful purpose, and so the immediate update option has been withdrawn. In the new release FL always updates the screen immediately. Note that FL updates the file properties only on those lines where commands are entered, and FL does not regenerate the list until explicitly requested to do so via the #R command.
However, those users who never back-up their files may find that a sea of "a" characters in the attribute column is intrusive, so for those users a profile option has been added allowing the character used for the archive attribute to be defined by the user. Any character can be used, including tilde or blank. Note that the character defined does not affect the #A, #R, #W, or #ATTR commands – for those commands "a" or "A" denotes the archive attribute.
In the new release, only those non-alphanumeric characters that are typable on most keyboards are treated as word delimiters; these are shown below. Note that the single quote is not treated as a word delimiter, as it is most often used as an apostrophe.
Brackets | ( ) [ ] { } < > |
Mathematical | = + - * / |
Logical | | & ^ ~ \ |
Punctuation | : ; . , " ! ? |
Others | % # @ _ blank |
The display of the full filespec and its style are controlled by a profile option on the "Other Settings" panel in FLCUST. The colors of the full filespec and its box are controlled via the "Colors" panel in FLCUST. The #M command with the F parameter can also be used to control the display of the full filespec.
The display of the drive information is controlled by a profile option on the "Other Settings" panel in FLCUST. The colors of the drive information line are controlled via the "Colors" panel in FLCUST. The #M command with the D parameter can also be used to control the display of the drive information line.
The drive information displayed has been enhanced, and now includes the following items:
Usage notes:
The number of F-key lines displayed can also be controlled by using the #M command with the K parameter.
For each drive, FL maintains a "working directory", which is the most-recently viewed directory on that drive. Initially, the working directory is the same as the current directory, but this ceases to be true as soon as you start to navigate around the directory tree. Whenever you issue an external command, FL ensures that the current directories on the drives that have been visited are made the same as the working directories on those drives.
When you use the #W command to create a second or subsequent window, you are effectively creating a new FL session, which in principle has its own set of working directories, different from those of the first window. In previous releases, all FL windows (in a single OS window) had the same set of working directories, so navigating to a different directory on drive "d:" in the second window would change the working directory for that drive in the first window. Sometimes this is the desired behaviour, and sometimes it is not.
In the new release it is possible to control how FL maintains its working directories, via the "Working-directory scope" option on the "Other Settings" panel of FLCUST:
The new release of FL introduces a panel size setting that allows you to specify the panel size that FL should use – screen or window. This is controlled by the "Panel size" setting on the "Other Settings" panel in FLCUST.
In the new release, a profile setting has been added to allow you to save the contents of the screen at FL start-up, and re-instate them when FL ends. This is controlled by the "Save screen at start" setting on the "Other Settings" panel in FLCUST.
In the new release, you can specify whether the CTRL-END key and #B command should move the current line to the last line on the last page (giving you a symmetric maximum scroll), or to the first line on the last page (giving you an asymmetric maximum scroll – same behaviour as previous releases). This is controlled by a profile setting on the "Other Settings" panel in FLCUST.
In the new release, you can specify whether the PAGE-UP key should move the current line to the last line on the previous page (giving you a symmetric page scroll), or to the first line on the previous page (giving you an asymmetric page scroll – same behaviour as previous releases). This is controlled by a profile setting on the "Other Settings" panel in FLCUST.
Note: the ALT-PAGE-UP and ALT-PAGE-DOWN keys provide a line scroll capability – the list is scrolled up or down by one line, moving the current line in synchronism with the list. Symmetric page scroll behaves in the same way as line scroll, but with the scroll amount equal to one page instead of one line.
The new release of FL now supports large files, provided that both the file system and the operating system are compatible (for example, HPFS on OS/2, NTFS on Windows). FL cannot support large files if the operating system does not support large files natively (for example, DOS with an NTFS driver installed); in such a situation the file size displayed by FL for a large file is determined by the file-system driver, but is likely to be the low-order four bytes (that is, the remainder obtained when the file size is divided by 4GB). A freeware read-only NTFS driver for DOS can be obtained from the www.sysinternals.com web site.
A side effect of the support for large files on Windows is that file times of files on NTFS drives are now displayed with a resolution of one second. File times of files on FAT drives have a resolution of two seconds. Be aware that if you run the DOS vesion of FL on Windows, the file times displayed by "FL for DOS" can differ from those displayed by "FL for Windows" by up to two seconds; this is caused by the different interfaces used to obtain the file information on DOS and Windows.
Note: in this release the built-in help does not show the user-defined values for the primary execute key, secondary execute key, or newline key (the help shows the default values).
For these reasons, FLCOLOR has been withdrawn, and is no longer included in the FL toolset.
For the #C command to work correctly on OS/2 and Windows, FL must be invoked via the file F.BAT (F.CMD on OS/2). The same situation exists for FLFIND – the #C command will not work correctly unless FLFIND is invoked via a BAT file that does the necessary processing. The new release adds this BAT file, which is called FF.BAT (FF.CMD on OS/2).
FLFIND name.ext
This causes FL to search the directory tree starting at the root directory on the current drive. You can also easily search other drives:
FLFIND dfr:name.ext
This causes FL to search the "D:", "F:", and "R:" drives, starting at the root directory on each.
Occasionally you may want to search a directory sub-tree (that is, not starting at the root directory). With previous versions of FLFIND, you could do this only by specifying the fully-qualified path of the sub-tree. This becomes inconvenient when the path is long, and long paths are common on OS/2 and Windows (relative directory notation was ignored in previous releases).
The new version of FLFIND now honours relative directory notation in the path specified on the invocation of FLFIND:
Example | Action |
---|---|
FLFIND .\name.ext | Search for "name.ext" in the current directory and all its sub-directories. |
FLFIND ..\name.ext | Search for "name.ext" in the parent directory and all its sub-directories. |
FLFIND xyz\name.ext | Search for "name.ext" in directory "xyz" residing in the current directory, plus all sub-directories of "xyz". |
Note: when you use relative directory notation like this, if you also specify one or more drive letters, the starting directory for the search is evaluated with respect to the current directory on each drive.
FLVIEW is a user-customisable program that addresses this problem. When you want to edit or view a particular file, you invoke FLVIEW from the FL command line, and FLVIEW then invokes the tool or program appropriate for the file extension.
Refer to the FLVIEW User Guide for more information about this tool.
If you do not want "System Volume Information" and other system files and directories appearing in the list, define synonyms for the #A, #R, and #W commands that specify "/A:-S" as an option (see earlier description of support for synonyms).
Note: when FL loses control of the keyboard, FL cannot see shift-state transitions, and in these situations the F-key line displayed may not correspond to the shift key pressed. FL loses control of the keyboard when an external command is invoked (for example, a full-screen editor invoked from FL), or when the window containing FL loses the focus.
Note: the manual does not include any of the changes made in the various version 4 and version 5 releases, and hence is quite out of date. To understand the changes that have been made in version 4, read the files "FL4nn.HTM" (nn=00 to 08).
In contrast, when files and directories are deleted using Windows, those files and directories are not really deleted; instead they are moved to the recycle bin, from where they can be easily recovered by the user.
If you would like to be able to use the Windows recycle bin from FL, you might like to investigate the following tools:
http://gearbox.maem.umr.edu/batch/f_w_util/
Note: these tools are mentioned merely for your information – they have not been tested to ascertain their reliability – so use them at your own risk.
Page last changed: 2008-07-25 |