# Fcmd-help

Inhalt

- 1 warranty and license
- 2 usage
- 3 Window layout
- 4 Configurability
- 5 Concept of favorite paths

- 5.1 Favor tab selection
- 5.2 Favor path selection
- 5.3 Create a favorite path

- 5.3.1 Tab label of favor
- 5.3.2 persist
- 5.3.3 alias of favor
- 5.3.4 the directory path
- 5.3.5 button temp
- 5.3.6 button Save
- 5.3.7 Editing the favor path manually

- 6 File card

- 6.1 Path and properties of current file

- 7 Command card
- 8 Key commands

- 8.1 General navigation keys between cards and panels
- 8.2 Navigation keys from a file card
- 8.3 Keys which deals with the selected file or dir
- 8.4 Keys for the whole file card, the folder

- 9 confirm copy, move

- 9.1 The source root path
- 9.2 Set the source root path
- 9.3 The conditions for selection
- 9.4 The [check] button
- 9.5 Set the destination directory
- 9.6 The destination directory
- 9.7 Show the source, destination and current file in a file panel
- 9.8 The state field
- 9.9 The current file
- 9.10 Controlling the copy process

- 9.10.1 Choice overwrite read only files
- 9.10.2 Choice overwrite read existing files
- 9.10.3 Choice creating files

- 9.11 Questions while copy

- 9.11.1 Overwrite
- 9.11.2 Skip file
- 9.11.3 Skip dir

- 9.12 Abort the process
- 9.13 Choice function and execute

- 10 confirm delete

- 10.1 The delete root path
- 10.2 Set the delete root path
- 10.3 The conditions for selection
- 10.4 The [check] button
- 10.5 Show the current file and dir in a file panel
- 10.6 The state field
- 10.7 The current file and directory
- 10.8 Choice delete read only files
- 10.9 Questions while delete

- 10.9.1 del file
- 10.9.2 Skip file
- 10.9.3 Skip dir

- 10.10 Abort the process
- 10.11 Choice function and execute

- 11 Compare directory trees

- 11.1 The first compare root path
- 11.2 Set the source root path
- 11.3 The conditions for selection
- 11.4 The [check] button
- 11.5 The second compare root path
- 11.6 Set the second compare root path
- 11.7 Show the source, destination and current file in a file panel
- 11.8 The state field
- 11.9 The current directory and file
- 11.10 abort comparison
- 11.11 start comparison

- 12 mkdir / mkfile
- 13 Command invocation in the output area
- 14 Drag'n drop and copy paths

Topic:.FcmdHelp.

.

## 1 warranty and license

Topic:.FcmdHelp.warranty.

The.file.Commander is a well able to use tool which runs in Windows and Linux for navigation and operations with files. It is very helpfull for developer and system administrator. But it may not proper for a standard user which does not know enough about commands, files and directories.

The.file.Commander has absolute no warranty for proper operation. It is used for compare, copy, delete etc. frequently. But if any data loss is happen, no warranty is given for a proper operation in any case.

The.file.Commander can be used free without any fee. The sources are open with the LGPL license (Lesser General Public License). The.file.Commander needs the SWT graphic library with has a SWT-license, see https://www.eclipse.org/swt.

## 2 usage

Topic:.FcmdHelp.usage.

Context sensitive help: Some tables, edit fields or buttons are associated with a context sensitive help. Open the help window, leave it open, then select any table, select an edit or output field or press a button (and move the mouse back to prevent an action) - the context sensitive help will be shown.

## 3 Window layout

Topic:.FcmdHelp.layout.

Three file panels: The.file.Commander presents files in three panels. The classic Norton Commander has only two panels. Use the middle and right panel to select a source and desination for copy or a first and second folder for comparison etc. The left panel can be used e.g. to select a documentation in the file system while working. You have this third panel additionally. The left panel contains a command card, see 7 Command card. A selected command in the left panel can be combined with the selected files in the other panels to execute somewhat, for example a file comparison.

Tabs for favors and files: One of the capability of the.File.commander is to handle with some directories in your file system, see 5 Concept of favorite paths. You have a system of favor themes. That are able to select in the left Tab of the file tabs, and then the left tab below. You may have 10..20 or more favor themes, it is the length of that list. Any favor theme can have some favor directory path, maybe 10 or more. For example if you work with documents, that are the directories where documents, pictures etc. are stored. That favor paths can be selected in the tabs in the lower tabbed panel. If you select a favor theme in press [Enter] the associated favor path card is opened or selected. The file cards are disposed in the upper tabbed panel. If you select a file card, the favor cards are hide. But you can switch from any file card to its favor path select list by typing [ctrl-down]. If you switch to another directory in the file card, it is saved of course, meanwhile you work in another file card. But you can go back to the start directory by simple pressing of [ctrl-<]. All the key operation you find in the menu bar too or you can use the context menu (right mouse button). You can close a tab by typing

Bild: Layout

Output/edit area: The middle area of the window is a output area. It can be zoomed by pressing [ctrl-O] like switching to the output window in the classic Norton Commander. The output area's content can be used as write area, to select any content ([ctrl-a] is select all), to copy to the systems clipboard etc.. It is possible to write commands in that area, see 13 Command invocation in the output area.

Status line: In the bottom area there are shown information about the selected file. Especially the full path is shown. You can switch between backslash and slash presentation (for windows users) and copy the file path or parts of them in the system's clipboard to use it as input for other applications. drag'n drop: You can mark somewhat in the path field and drag it to any other application. Then the file is dragged if the drop receiver can deal with the file.

Function buttons: In the bottom are you can see all function buttons, like the classic Norton Commander. There are shown all combinations with [ctrl]-, [alt]- and [sh]-key. Because you may know the meaning of the buttons you can hide this information. Type [ctrl-F1] to hide and show. All function buttons can be invoked with the mouse in that window part or with the real keys on keyboard. You can find all functions in the standard menu too!

## 4 Configurability

Topic:.FcmdHelp.config.

The.file.commander can be configured.

- Later versions should be support changing of all keys and texts, so a language specific or user specific layout can be gotten. It is prepared yet only.

- The command panel contains some user specific commands which can be combined with any selected file or path in a specific assembled command line. You can configure your specific commands. File `cfg/cmd.cfg`.

- The association between a file extension and its application can be configured in a specific os-independent way. While some standard users of the os may have its habitually applications a administrator can have other associations to the file extensions using this.File.commander. All associations between extensions and a command line invocation are contained in a `cfg/ext.cfg` textual file which can be adapted. The systems associations between extensions and applications (in windows contained in the registry file) can be transfered to that `cfg/ext.cfg` with a special application.

- Especially all paths in the file system which are your favorites can be configured both by creating new favor paths with [ctrl-b] key and by editing the `cfg/path.cfg`.

- All files are pure textual, can be edit manually, or can be processed by any specific aplication. It is possible to switch between sets of that file.

## 5 Concept of favorite paths

Topic:.FcmdHelp.favorpath.

occasion: You may work with several source files, scripts, result files etc. in more as one subject matter or you have to attend some files in several directories. Then you have to switch between that several positions maybe in a large and complex directory tree. Favorite paths help to switch.

second stage selection: The favor selection have two stages:

- Selecting a main favor which is related to a tab on the tabbed favor panel.

- Selecting a file card with the favor path inside one tab.

This image shows one panel with a selected 5.2 Favor path selection card. There are some other favor paths opened, you see there tabs. The upper tabs are to select their file cards. The same tabs in the lower row are tabs inside the left top shown `[a-F2]]`-Tab which contains the favor-path select cards. All opened favor cards and file cards are given as tabs. You can close the tabs and re-open whereby the stored directories from the last session are offered as start point.

In this view a favor path `Java2C` is selected. If you press [Enter] in this state then a new favor card will be opened with the tab `Java2C`.

This view shows a selected file card. The file card tabs with the red marked tab `Java` helps to select between some opened file cards of the same favor, in this image-example vishia.

You can switch between the file-card-tabs in one favor card, switch to the tab of another favor card, close the tabs, open another ones. If a favor path is selected, which is already in use, the last selected directory will be shown. Note: to switch back to the favor directory, use the [ctrl][<] key combination or use the menu entry "file-navi" - "favor-home".

See 8.1 General navigation keys between cards and panels

and 8.2 Navigation keys from a file card.

If you switch between the file tabs, the current selected file of the tab is kept for re-focus the card.

All favorite paths and their main favors with the tabs are contained in one file in the cfg-folder of The.file.Commander in the "favorpath.cfg" file, see 4 Configurability.

### 5.1 Favor tab selection

Topic:.FcmdHelp.favorpath.tabSelect.

The table for favor tabs contains the name of main favors and the label of the associated tab in each line. Selecting one line of this table opens the favor path selection in the associated tab. If the tab was created already, the last used favor is selected per default.

### 5.2 Favor path selection

Topic:.FcmdHelp.favorpath.favorSelect.

The table for favor paths contains the alias name of a path and the home path of this alias in each line. Selecting one line of this table opens the file view of this alias. If the file view was created already, the last used path is selected, elsewhere the home path.

You can switch from any file view to this path select table by typing [alt-down]. You can switch between several working directories of this tab. If you switch to another directory, and then back to a last one, the last selected file is selected per derault anytime.

### 5.3 Create a favorite path

Topic:.FcmdHelp.favorpath.favorNew.

You can select any directory in a file panel. Pressing [ctrl-B] or menu "faVors - new" opens a confirm window.

#### 5.3.1 Tab label of favor

Topic:.FcmdHelp.favorpath.favorNew.tab.

Write the label for the tab in text field 'label'. Per default the same label is set from the starting favor, you can change it and write either a label of an existing favor tab or a new one.

#### 5.3.2 persist

Topic:.FcmdHelp.favorpath.favorNew.persist.

You can write 'lmr' (one of or more) to force showing the label on startup of The.file.Commander. (TODO test it).

#### 5.3.3 alias of favor

Topic:.FcmdHelp.favorpath.favorNew.alias.

The alias is the string which is shown in the favor select card. Write any proper designation.

#### 5.3.4 the directory path

Topic:.FcmdHelp.favorpath.favorNew.dir.

The actual directory path is presetted. Check it. Commonly it is what you want. You can write any other path there. Therewith you can create a new favor without selecting the path, instead e.g. take the path from clipboard.

#### 5.3.5 button temp

Topic:.FcmdHelp.favorpath.favorNew.temp.

Pressing this button the favor path is stored only for the current session, it would not be stored in the favor path file.

#### 5.3.6 button Save

Topic:.FcmdHelp.favorpath.favorNew.save.

Pressing this button the favor path is stored in the favor path file.

#### 5.3.7 Editing the favor path manually

Topic:.FcmdHelp.favorpath.favorNew..

All favor paths can be edit manually, for example to remove some paths, to correct it, to correct tab and alias names, to duplicate the same paths for different tab labels.

The favor path file is stored in The.file.Commander's config directory with name `path.cfg`. You can edit this file with an standard text editor. Be vigilant about the syntax. It should be self-explaining by the given entries:

    ==tab: alias in favor tab card==
    alias in favor card, path
    other alias in favor card, other/path

## 6 File card

Topic:.FcmdHelp.fileCard.

The file card shows all files of a directory. With left mouse or the up and down arrow keys you can select one file. It is the current file or selected file. You can mark or unmark some files while pressing [shift] and [down]. That files are shown in an abbreviating color (red). The marked files are used for operations with more as one files like Topic:.FcmdHelp.confileaction. or for commands with for example 2 files. It is possible to mark two files in the current file card or to select one file and the current and the last (second) file card to select it for commands like file difference view or such.

You can select a directory, then type [Enter] or double click the left mouse button. Then the the sub directory content will be shown. If you have visited that directory in the past, the last selected file or directory is selected by default again. So you can navigate to the same files or directories which were the last points of interest. The.file.Commander stores all paths and the selected files in an internal tree anytime if a directory view was left. To go back in the parent directory use [ctrl][page up], double click on the .. line or shorten the directory path text in the input field above the file card.

You can type or paste any directory path with `/` or `\` as separator into the text edit field above the file card to select any other directory.

You can switch between file cards with some keys or selecting the tabs of the cards per left mouse click.

For key commands see 8.2 Navigation keys from a file card and 8.3 Keys which deals with the selected file or dir.

### 6.1 Path and properties of current file

Topic:.FcmdHelp.fileCard.pathCurr.

The bottom are of the main window contains two status lines:

- Upper line: The absolute path of the currently selected file.

- Lower line, left field: Status of command execution. If it is empty, no command is pending.

- Lower line, right field: timestamp, and size of the currently selected file.

You can copy some information in the clipboard of the system. See 14 Drag'n drop and copy paths.

The timestamp of the file is also shown as milliseconds after 1970.

The path is able to show slash or backslash. Especially in Windows the backslash may be necessary. Use right-click context menu on that field. (todo)

## 7 Command card

Topic:.FcmdHelp.cmdCard.

The command card contains some commands to execute maybe with currently selected files or directories. Use [F2] or menu "Navigation" - "cmd" to select this card.

You can change and complete this commands calling menu "Help" - "Settings", then Button <edit> for "cmd cfg file". That configuration file is an ASCII file. Its syntax is shown on top of this file (don't remove it for further reading). Edit and save it. Then press <apply> for "cmd cfg file" and check how its work.

The tags <absdir> etc. are placeholder to fill with the currently selected files in all file tables.

- From a selcted file its <absFile>, ...TODO use same writing a in TextGenerator.

- If the ".."-entry is selected, the <file> represents the current directory of this filecard. It is a directory anyway.

## 8 Key commands

Topic:.FcmdHelp.keys.

Further versions may have the capability to adapt key usage individually. The standard key usage are oriented to a simple and usual system. Some keys are adequate the classic norton commander.

### 8.1 General navigation keys between cards and panels

Topic:.FcmdHelp.keys.naviCards.

[alt-F1]], [alt-F2] and [alt-F3] selects the left, middle or right favor theme card. It is like [alt-F1] and [alt-F2] for drive selection in the classic Norton commander. The drive selection is not the important one yet. The selection of favor themes is it.

[sh-alt-F1]], [sh-alt-F2] and [sh-alt-F3] or [sh-F1]], [sh-F2] and [sh-F3] focuses the left, middle or right panel.

With [(sh)-alt-arrows] you can walk through all cards of one panel:

[sh-alt-left] and [sh-alt-rigth] focuses the cards to the left and right in the same panel.

[(sh)alt-up] and [(sh)-alt-down] focuses the file card or the associate theme card.

[ctrl-tab] switches between the last 2 panels. The classic norton commander has used the [tab] key only for that. But [ctrl-tab] is usual today to switch between the windows or panels of an application, whereby the [tab] is the traversal key between widgets.

### 8.2 Navigation keys from a file card

Topic:.FcmdHelp.keys.fileCard.

[alt-down] shows the favor paths of this file card or file tab.

[ctrl-pgUp] navigates to the parent directory.

[ctrl-alt-left] and [ctrl-alt-right] selects to the left and right file card.

[shift-alt-left] and [shift-alt-right] selects to the left or right favor file card or to the favor tab selection on the leftest.

[F2] shows the command card.

### 8.3 Keys which deals with the selected file or dir

Topic:.FcmdHelp.keys.fileKeys.

[Enter] on a file: The extension will be tested. One or some commands are offered to execute with that file. Select it and type enter to execute a command with the file. The commands for any extension are contained in the file `cfg/ext.cfg` in The.file.Commander's configuration folder. You can build any combination of command line invocations with the selected file, with files in the other panel or maybe with the directory only.

[ctrl-F9] on a file: The last selected command in the 7 Command card will be executed with the selected file and maybe with the file in the other panel. It depends on the command which will be done. If the command doesn't use a file as input, the command will be executed also.

[F3]: View the file with the internal viewer, maybe with hexa presentation.

[F4]: Edit the file. The editor is configured with the file `cfg/cmdi.cfg` in The.file.Commander's configuration folder.

[F6]: Copy or move the the file. Opens a confirm window. Note that [F5] is refresh.

[F8]: Delete the file. Opens a confirm window.

[F9]: Edit properties of the file. Opens a dialog window.

### 8.4 Keys for the whole file card, the folder

Topic:.FcmdHelp.keys.folderKeys.

[ctrl-<]: Select the origin directory of the favorite, back to its root.

[F5] or [ctrl-R]: Refresh the file card view. The classic Norton commander uses [F5] for copy. But the usage of [F5] for refresh is usual in most other modern applications. Use [F6] for copy and move both.

[F7]: Create a directory or an empty file in the current folder. It is the F7-Key for 'mkdir' from the classic Norton commander.

## 9 confirm copy, move

Topic:.FcmdHelp.copy.

This is the dialog box for the copy and move operation.

### 9.1 The source root path

Topic:.FcmdHelp.copy.pathSrc.

The source root path contains the only one file to copy or move or the directory if more files should be handled. It is set on activating the confirm window or with the button set source] from the selected file or directory in the current active file table. If it is possible that files can be selected manually after or during check] then it is shown with `/*`:

    D:/source/path/subdir/*

See edit field select src files for selecting.

If more as one files or sub directories are marked in the current active file table then it is shown `/?+`:

    D:/source/path/subdir/?+

This is a marker that the current file table's directory is used as root directory and the selection in that directory are used firstly. A fine selecting is possible as well as with `/*`.

### 9.2 Set the source root path

Topic:.FcmdHelp.copy.setSrc.

If the confirm copy/move/del/compare-Window is opened the first time, opened after finit a process or if the [set source] button is pressed in the opened confirm window in that states, the currently selected file(s) of the first current file panel of the.File.commander are taken as source directory/ies. The text field is not able to edit. The root source directory or the only one file as source are defined from the selected file(s) or subdir(s) in the current file card. But you can select files in sub directories, see 9.3 The conditions for selection and 9.4 The [check] button

### 9.3 The conditions for selection

Topic:.FcmdHelp.copy.selcond.

If the input field for select conditions is left empty, all files in the source root path will be selected. In this case the move and delete takes the files and directories of the source root path without any more selection and moves or deletes that. The copy and compare need a check phase to select and count all files.

The input field can contains one wildcard expression or more as one separated by a colon ':' maybe with spaces before and behind (for better reading). The wildcard expression is used to select files in the source root directory(ies).

### 9.4 The [check] button

Topic:.FcmdHelp.copy.check.

If you press the check button, the files in the source root path are selected regarding the conditions for selection. This may need some seconds if the directory tree is deep and/or it is a remote or network directory. The progress is shown than. While this process runs, the [set source] button is shown grayed.

The result of the selection is able to check in the file panels of the.File.commander. Additionally the selection can be changed in the file panel using the right-mouse-menu or select keys there.

The selection can be enhanced or reduced by given some other selection conditions and pressing check again. The selection state before that is left unchanged but the new selection will be set (or cleared) for the matching files. That process counts all files and bytes, the selected in the past and the selected yet, so the result of bytes and files are correct.

If you write `?` in the selection condition field and press check, the selected files up to now are counted and shown again in the state field.

### 9.5 Set the destination directory

Topic:.FcmdHelp.copy.setDst.

If the confirm copy/move/del/compare-Window is opened the first time or opened after finit a process then the directory of the currently selected second file panel of the.File.commander is set as destination directory. If the <set destination> button is pressed in the opened confirm window then the directory of the first current file panel is taken as destination directory.

### 9.6 The destination directory

Topic:.FcmdHelp.copy.dst.

You can choose the destination directory

### 9.7 Show the source, destination and current file in a file panel

Topic:.FcmdHelp.copy.show.

The little buttons [=>] right hand on the path lines selects the directory in the current file panel of the.File.Commander. You can use this function to go back to the source or destination root directory after you had walked through the files especially in some sub directories or check any other in the panel. for the current file displayed you can go to this file to check some details about it.

### 9.8 The state field

Topic:.FcmdHelp.copy.state.

The state

### 9.9 The current file

Topic:.FcmdHelp.copy.currfile.

This field shows either the current file or directory path which is processed in the moment or the last found file path after check. If any process is running, the content of this field is refreshed in a cycle about 300 ms. It is volatile. But if the process is waiting for example for any question or because a pause is pressed, you can read, copy to clipboard or press the [=>] button to show the file.

### 9.10 Controlling the copy process

Topic:.FcmdHelp.copy.ctrl.

A copy process creates new files in the destination directory. It may overwrite existing files or not, it may overwrite read only files or not, it may create new files or not. Three choice-keys controls that.

The buttons show the current state left side and the other possible states right of them after a question mark. Pressing the a button changes the state and shows that. The state is used if the copy process runs. The state can be changed while the copy process is in a quest. The new state is valid for the next following files.

#### 9.10.1 Choice overwrite read only files

Topic:.FcmdHelp.copy.ctrl.overwrRo.

The button shows the current state left side and the other possible states right of them after a question mark. Pressing the button changes the state.

- ask: Any read only file will be overridden only if the [overwr file] button is pressed for this file while it is displayed in the current file field.

- yes: A read only file will be replaced by the copy process without quest. The state of the copied file will be set to the state of the source file, maybe readonly or not.

- no: A read only file won't be replace, the copy process skips over such files.

#### 9.10.2 Choice overwrite read existing files

Topic:.FcmdHelp.copy.ctrl.overwrExists.

- ask: Any read only file will be overridden only if the [overwr file] button is pressed for this file while it is displayed in the current file field.

- newer:

- older:

- all: A read only file will be replaced by the copy process without quest. The state of the copied file will be set to the state of the source file, maybe readonly or not.

- no: A read only file won't be replace, the copy process skips over such files.

#### 9.10.3 Choice creating files

Topic:.FcmdHelp.copy.ctrl.createNew.

T

### 9.11 Questions while copy

Topic:.FcmdHelp.copy.quest.

x

#### 9.11.1 Overwrite

Topic:.FcmdHelp.copy.quest.wr.

T

#### 9.11.2 Skip file

Topic:.FcmdHelp.copy.quest.skipFile.

T

#### 9.11.3 Skip dir

Topic:.FcmdHelp.copy.quest.skipDir.

T

### 9.12 Abort the process

Topic:.FcmdHelp.copy.escape.

T

### 9.13 Choice function and execute

Topic:.FcmdHelp.copy.ok.

There are four keys to select the function which is done:

[compare ?] Comparison of the files in source (selected) and destination (same files in destination path).

[delete ?] Deletion of the selected files in the source root path or the whole source root path(s)

[move ?Copy] Move or copy from source to destination of the selected files.

The keys can be pressed to switch between the choosen function. The [ok]-Button right button shows the resulting function:

- [check copy]: Copy is choosen, but the [check] is not done up to now. Either press this key or press the [check] to do it.

## 10 confirm delete

Topic:.FcmdHelp.del.

This is the dialog box for the delete operation.

### 10.1 The delete root path

Topic:.FcmdHelp.del.pathSrc.

The delete root path contains the only one file to delete or the directory if more files should be handled. It is set on activating the confirm window or with the button set source] from the selected file or directory in the current active file table. If it is possible that files can be selected manually after or during check] then it is shown with `/*`:

    D:/delete/path/subdir/*

See edit field select src files for selecting.

If more as one files or sub directories are marked in the current active file table then it is shown `/?+`:

    D:/delete/path/subdir/?+

This is a marker that the current file table's directory is used as root directory and the selection in that directory are used firstly. A fine selecting is possible as well as with `/*`.

### 10.2 Set the delete root path

Topic:.FcmdHelp.del.setSrc.

If the confirm delete-Window is opened the first time, opened after finit a process or if the [set source] button is pressed in the opened confirm window in that states, the currently selected file(s) of the first current file panel of the.File.commander are taken as delete directory/ies. The text field is not able to edit. The root delete directory or the only one file as source are defined from the selected file(s) or subdir(s) in the current file card. But you can select files in sub directories, see 10.3 The conditions for selection and 10.4 The [check] button

### 10.3 The conditions for selection

Topic:.FcmdHelp.del.selcond.

If the input field for select conditions is left empty, all files in the source root path will be selected. In this case the delete takes the files and directories of the delete root path without any more selection and deletes that.

The input field can contains one wildcard expression or more as one separated by a colon ':' maybe with spaces before and behind (for better reading). The wildcard expression is used to select files in the source root directory(ies).

### 10.4 The [check] button

Topic:.FcmdHelp.del.check.

If you press the check button, the files in the delete root path are selected regarding the conditions for selection. This may need some seconds if the directory tree is deep and/or it is a remote or network directory. The progress is shown than. While this process runs, the [set source] button is shown grayed.

The result of the selection is able to check in the file panels of the.File.commander. Additionally the selection can be changed in the file panel using the right-mouse-menu or select keys there.

The selection can be enhanced or reduced by given some other selection conditions and pressing check again. The selection state before that is left unchanged but the new selection will be set (or cleared) for the matching files. That process counts all files and bytes, the selected in the past and the selected yet, so the result of bytes and files are correct.

If you write `?` in the selection condition field and press check, the selected files up to now are counted and shown again in the state field.

### 10.5 Show the current file and dir in a file panel

Topic:.FcmdHelp.del.show.

The little buttons [=>] right hand on the path lines selects the directory in the current file panel of the.File.Commander. You can use this function to go back to the source or destination root directory after you had walked through the files especially in some sub directories or check any other in the panel. for the current file displayed you can go to this file to check some details about it.

### 10.6 The state field

Topic:.FcmdHelp.del.state.

The state field shows the state while progress deletion.

### 10.7 The current file and directory

Topic:.FcmdHelp.del.currfile.

This field shows either the current file or directory path which is processed in the moment or the last found file path after check. If any process is running, the content of this field is refreshed in a cycle about 300 ms. It is volatile. But if the process is waiting for example for any question or because a pause is pressed, you can read, copy to clipboard or press the [=>] button to show the file.

### 10.8 Choice delete read only files

Topic:.FcmdHelp.del.overwrRo.

A delete process may find read-only or delete protected files. The choice-button controls what to do.

The button show the current state left side and the other possible states right of them after a question mark. Pressing the a button changes the state and shows that. The state is used if the copy process runs. The state can be changed while the copy process is in a quest. The new state is valid for the next following files.

The button shows the current state left side and the other possible states right of them after a question mark. Pressing the button changes the state.

- ask: Any read only file will be overridden only if the [overwr file] button is pressed for this file while it is displayed in the current file field.

- yes: A read only file will be replaced by the copy process without quest. The state of the copied file will be set to the state of the source file, maybe readonly or not.

- no: A read only file won't be replace, the copy process skips over such files.

### 10.9 Questions while delete

Topic:.FcmdHelp.del.quest.

x

#### 10.9.1 del file

Topic:.FcmdHelp.del.quest.wr.

Todo

#### 10.9.2 Skip file

Topic:.FcmdHelp.del.quest.skipFile.

Todo

#### 10.9.3 Skip dir

Topic:.FcmdHelp.del.quest.skipDir.

Todo

### 10.10 Abort the process

Topic:.FcmdHelp.del.escape.

If you press the [abort] button the deletion is stopped and the confirm window is set to its idle state.

### 10.11 Choice function and execute

Topic:.FcmdHelp.del.ok.

The button on the right button side shows three quests:

- [check del]: In this case it has the same function like the check] button.

- [delete]: It starts the deletion process.

- [pause]: The deletion process is paused. In this state you can check the file system and change the selection.

- [close]: The deletion is done, it hast the same function like the abort]-button to close the window.

## 11 Compare directory trees

Topic:.FcmdHelp.cmpr.

For the compare operation there are a dialog box.

Select 2 directories in 2 panels (middle, left), then select "File - Compare [sh-F7]" in the menu or press right mouse in the directory output field of a file card (TODO) - opens the confirm compare window.

After comparision the files are significated:

- # directory contains differences, files are different

- + directory contains more files, an additional file

- - directory doesn't contain any file of the other panel

- Without extra signification: The directories are equal, the files are equal.

To walk to the file tree you can use the sync function: Menu "folDer - sYnc" or (TODO): Button sync:

The 2 file cards which were compared works synchron: Selecting one file, entry in a directorie selects it and entries in the other card automaticly.

You can use the sync mode to proper see differences in trees. Switch it on or off.

File difference view: Use any difference viewer of your system: Select both files, then type "Navigation - cmd" or <F2> and select your diff viewer. It should be prepared already.

### 11.1 The first compare root path

Topic:.FcmdHelp.cmpr.pathSrc.

The first compare root path refers to the directory or maybe file which is selected in the actual (first) file panel while activating the confirm window or [set source] is pressed.

### 11.2 Set the source root path

Topic:.FcmdHelp.cmpr.setSrc.

The button [set source] can be used to set the first compare root path while the confirm window is opened already. You can switch between the file commander's panels and this confirm compare window, select any other directory or file and change the first compare root path with this button.

### 11.3 The conditions for selection

Topic:.FcmdHelp.cmpr.selcond.

If the input field for select conditions is left empty, all files in the first compare root path will be selected.

The input field can contains one wildcard expression or more as one separated by a colon ':' maybe with spaces before and behind (for better reading). The wildcard expression is used to select files which are compared. Note: yet (2015-02) this function is not implemented.

### 11.4 The [check] button

Topic:.FcmdHelp.cmpr.check.

If you press the check button, the files in the source root path are selected regarding the conditions for selection. This may need some seconds if the directory tree is deep and/or it is a remote or network directory. The progress is shown than. While this process runs, the [set source] button is shown grayed.

The result of the selection is able to check in the file panels of the.File.commander. Additionally the selection can be changed in the file panel using the right-mouse-menu or select keys there.

The selection can be enhanced or reduced by given some other selection conditions and pressing check again. The selection state before that is left unchanged but the new selection will be set (or cleared) for the matching files. That process counts all files and bytes, the selected in the past and the selected yet, so the result of bytes and files are correct.

If you write `?` in the selection condition field and press check, the selected files up to now are counted and shown again in the state field.

### 11.5 The second compare root path

Topic:.FcmdHelp.cmpr.dst.

This path is set with the first compare root path, but with the second actual file panel, the last file panel before changing to the yet actual file panel. The path is set with the actual file panel if the button [set destination] is pressed.

### 11.6 Set the second compare root path

Topic:.FcmdHelp.cmpr.setDst.

If the compare-Window is opened the first time or opened after finit a process then the directory of the currently selected second file panel of the.File.commander is set as destination directory. If the <set destination> button is pressed in the opened confirm window then the directory of the first current file panel is taken as destination directory.

### 11.7 Show the source, destination and current file in a file panel

Topic:.FcmdHelp.cmpr.show.

The little buttons [=>] right hand on the path lines selects the directory in the current file panel of the.File.Commander. You can use this function to go back to the source or destination root directory after you had walked through the files especially in some sub directories or check any other in the panel. for the current file displayed you can go to this file to check some details about it. Note this function is not implemented yet.

### 11.8 The state field

Topic:.FcmdHelp.cmpr.state.

Shows the state of comparison-progress

### 11.9 The current directory and file

Topic:.FcmdHelp.cmpr.currfile.

This field shows either the current file or directory path which is processed in the moment or the last found file path after check. If any process is running, the content of this field is refreshed in a cycle about 300 ms. It is volatile. But if the process is waiting for example for any question or because a pause is pressed, you can read, copy to clipboard or press the [=>] button to show the file.

### 11.10 abort comparison

Topic:.FcmdHelp.cmpr.escape.

The button [abort] aborts a current compare process. A new activation of the confirm compare window sets the first and second compare root paths newly.

### 11.11 start comparison

Topic:.FcmdHelp.cmpr.ok.

To start the comparison.

## 12 mkdir / mkfile

Topic:.FcmdHelp.mkdirfile.

This dialog box helps to create an empty file or a sub-directory in the current directory. It is the 'F7-Key' functionality of the classic Norton Commander. The classic 'F7-key' only helps to create a sub-directory, but empty files are often needed too, to be filled with scripts, config data etc.

The ...TODO

## 13 Command invocation in the output area

Topic:.FcmdHelp.CmdWrite.

You can write in the output area. Write

    >anyCommand with arguments

with a '>' on the start of any line, then press [ctrl-Enter]] with the cursor after the last argument. The this command is executed then inside The.file.Commander and sends its output to this output area. The current directory is that of the last selected file.

You can navigate in the output area to the command back and repeat this command. It need not be written in the last line.

    >&anyCommand with Arguments [ctrl-Enter]

invokes the command in a shell of the operation system. There you can give some input etc.

## 14 Drag'n drop and copy paths

Topic:.FcmdHelp.dud_FilePath.

You can use The.file.Commander to search and select files. If another application needs a file, for example in a file-open dialog, you can copy the path of the selected files from The.file.Commander: Select that part of path you need in the file-path text field and press [ctrl-C] or [ctrl-ins] or press the right mouse and use the context menu. The.file.Commander will copy the textual content in the clipboard of your system.

You can use the drag and drop technique too. If you mark any part of the file path in the file path text field and then drag it to your application, which is able to receive a draged file, not the textual part, by pressing left mouse button you drag the file.

Later revisions of The.file.Commander may support dragging of files from the file table too.