home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Professional
/
OS2PRO194.ISO
/
os2
/
wps
/
file
/
mr_file
/
mrfilepm.hlp
(
.txt
)
< prev
Wrap
OS/2 Help File
|
1992-10-27
|
36KB
|
1,187 lines
ΓòÉΓòÉΓòÉ 1. Help for Mr. File/PM Help ΓòÉΓòÉΓòÉ
Use these choices to find out how to use help, to get extended help, to go to a
list of keys, or to go to the help index.
Help for help
Provides detailed information on the kinds of help available and how to
use help.
Extended help
Displays general help.
Keys help
Displays a list of keys.
Help index
Displays the help index.
ΓòÉΓòÉΓòÉ 2. Help for Help ΓòÉΓòÉΓòÉ
Use this choice to obtain information on how to use the Help facility.
ΓòÉΓòÉΓòÉ 3. Help for Extended Help ΓòÉΓòÉΓòÉ
Use this choice to obtain general information on the tasks you can perform
while you are viewing a help window.
ΓòÉΓòÉΓòÉ 4. Help for Help Index ΓòÉΓòÉΓòÉ
Use this choice to display the help index.
The help index lists the titles of the help information that is available.
ΓòÉΓòÉΓòÉ 5. Help for Keys ΓòÉΓòÉΓòÉ
Use this choice to see a list of keys and a description of the function of the
keys.
ΓòÉΓòÉΓòÉ 6. Extended Help for Mr. File/PM ΓòÉΓòÉΓòÉ
Mr. File/PM is a simple OS/2 file manager that provides:
1. Traversal of directories and drives in the OS/2 file system including:
o file/directory sorting
o file attribute display
o file/directory copy, move, delete, and rename operations
o file/directory attribute modification
o mask specification to view matching file names
o display of drive, memory, and selected file size statistics
2. Entry of commands that get executed immediately as separate tasks
o including the ability to execute commands using selected files from the
file display
3. Customizing the Mr. File/PM file pull-down menu to automate selected
commands against selected files
4. Customizing Mr. File/PM to determine commands that automatically get
executed against files when double-clicked
5. Customizing Mr.File/PM to invoke certain commands when file are dropped on
specified windows on the desktop.
6. Customizing Mr.File/PM so that it starts with selected default features
(font, mask, hidden files, temporary disk space, etc)
7. Support for the OS/2 1.2 and 1.3 Drag-Drop protocol for files selected on
the screen including dropping on a drive letter to copy to a subdirectory
on the selected drive, or dropping on a Communications manager 3270
Emulator screen to copy the files to that host session, using a program
like almcopy.
Select one of the following to find out more information about the function
provided
o Traversing the File System
o Remembering a Drive's Current Directory
o Selecting Files
o JUMPing to a particular File
o 'Opening' a File
o Copying, moving, renaming, cloning or deleting files
o Showing all files on a logical drive
o Executing Commands
o Changing the File Mask
o 'Quick Change' to Previous Directories
o Dragging and Dropping selected files
o Changing the font for the file display
o Displaying Size Information
o Starting another copy of MrFile/PM
o Customizing Mr. File/PM (The Profile Menu)
o The MRFILEPM.INI file
ΓòÉΓòÉΓòÉ 7. Help for Key Assignments ΓòÉΓòÉΓòÉ
The list of keys is arranged in groups.
ACCELERATOR KEYS (for Mr. File/PM)
Ctrl+/
Select all directories/files in the current directory
Ctrl+a
Select all directories/files in the current directory
Ctrl+b
Change the attributes of the selected files
Ctrl+c
Copy the selected file to another drive/directory
Ctrl+d
Delete the selected directories/files
Del
Delete the selected directories/files
Ctrl+e
Sort the file list by file extension
Ctrl+f
Refresh the file display
Ctrl+k
Change the file display mask
Ctrl+h
Change the font for the file display
Ctrl+i
Toggle the mode to display all files in the current directory tree
(directory tree downward from the current path)
Ctrl+Ins
Copy a list of the selected directory/file names (fully-qualified) into
the PM clipboard
You can use this method to copy a file name to the clipboard, an then
insert it in an entry field for another program by pressing shift-ins when
the cursor is active in the edit box. This is a handy method to open a
file without typing its name or searching through the directory tree in
the open file dialog of another program.
Ctrl+l
Toggle the Length of the files displayed (from short length to long length
and visa versa). Long length shows the file attributes.
Ctrl+m
Move the selected file to another drive/directory
Ctrl+n
Sort the file list by file name
Ctrl+o
Clone the selected files
Ctrl+p
Save the current Mr.File/PM configuration (screen position, font, etc.) so
that it is re-established the next time that Mr.File/PM is invoked.
Ctrl+q
'Quick Change' to a previous directory in which you performed operations
or executed commands
Ctrl+r
Rename the selected directories/files
Ctrl+s
Display statistics on the size of the current disk drive, selected files,
free disk space and memory
Ctrl+t
Sort the file list by file modification date
Ctrl+u
De-select all files in the file list
Ctrl+\
Deselect all files in the file list
Ctrl+v
Save the current directory in the quick change list
Ctrl+w
Change to the last directory in the quick change list
Ctrl+y
Create a new directory
Ins
Create a new directory
Ctrl+z
Sort the file list by file size in descending order
Display the Mr. File/PM extended help menu
F3
Exit program
HELP KEYS
F1
Get help
F2
Get extended help (from within any help window)
Alt+F4
End help
F9
Go to a list of keys (from within any help window)
F11
Go to the help index (from within any help window)
Esc
Previous Help Panel, or End help if only one panel
Alt+F6
Go to/from help and programs
Shift+F10
Get help for help
SYSTEM KEYS
Alt+F6
Switch to the next windowed program
Alt+Esc
Switch to the next program, including full-screen programs
Ctrl+Esc
Switch to the Task List
WINDOW KEYS
F3
Close a window
F10
Go to/from the action bar
Arrow keys
Move among choices
End
Go to the last choice in a pull-down
Esc
Cancel a pull-down or the system menu
Home
Go to the first choice in a pull-down
PgUp
Scroll the contents of the window up one page
PgDn
Scroll the contents of the window down one page
Underlined letter
Move among the choices on the action bar and pull-downs
Alt+F10
Go to/from the action bar
Alt+F4 or F3
Close the window
Alt+F5
Restore the window
Alt+F7
Move the window
Alt+F8
Size the window
Alt+F9
Minimize the window
Alt+F10
Maximize the window
Ctrl+PgDn or Shift+F8
Scroll the contents of the window right one page
Ctrl+PgUp or Shift+F7
Scroll the contents of the window left one page
Shift+Esc or Alt+Spacebar
Go to/from the system menu
Shift+Esc or Alt
Go to/from the system menu of a text window
ΓòÉΓòÉΓòÉ 8. Help for the Destination Dialog ΓòÉΓòÉΓòÉ
The destination dialog helps you choose a destination for a move or copy
operation on selected files or directories.
To choose the destination for the operation, double click on the disk drive
letter for the drive you wish to target and then select the directory you
desire on the drive by double-clicking on the directory name. The directories
are displayed one level at a time. You may traverse the directory tree by
selecting a subdirectory to go down the tree, or by selecting the ..\ directory
to go up the tree (to the parent directory).
As drives and directories are selected, the destination will be displayed in
the box at the bottom of the dialog window. Optionally, you may type in the
destination path name in this box instead of selecting the drives and
directories from the list selections.
The Replace Existing Files check box may be marked if you do not want to be
prompted when a directory or file name that you are copying/moving conflicts
with the name of an existing file/directory at the target location. Conflict
files or directories will be erased before the selected file/directory is
copied to the target, if it has the same name. Do not check this box, if you
want to confirm (via. a dialog box) the replacement of existing files or
directories at the target destination.
If you want to replace files only if their modification date is earlier than
the source file date, then the Replace Older Files check box should be
selected.
You may change the operation from Move to Copy or from Copy to Move by
selecting the proper radio button beside the MOVE or COPY words in the dialog
window.
Select the OK push-button to start the move/copy to your selected target, or
select Cancel to abort the operation.
ΓòÉΓòÉΓòÉ 9. Help for the Command Dialog ΓòÉΓòÉΓòÉ
The command dialog is shown when you press the ESC key or start to type in a
command. The dialog displays a list for the last 20 commands that you executed
so that they may be chosen again for execution.
You may remove saved commands from the command dialog list box by pressing the
Delete key on the dialog when a command is selected in the list box.
You may type in a new command to execute. Optionally, the command you specify
can use the selected files/directories in the command line. The following
section illustrates the format for a command you enter:
o Command Format
ΓòÉΓòÉΓòÉ 10. Traversing the file system ΓòÉΓòÉΓòÉ
Mr. File/PM initializes by displaying files and subdirectories on the current
drive and in the current subdirectory. The default display shows files in a
column-row format similar to a spreadsheet. This can be changed with the
Length menu selection to show file/directory attributes as well.
Disk drives are displayed across the top of the window in a format like [-A-].
The current directory and file mask are displayed in the title bar.
o Using the Mouse to Traverse the File System
To display files/directories on another disk drive, double-click with the
primary mouse button on the drive letter for the drive.
To change to another directory, double-click on the directory (with the
primary mouse button) in the file display window. Directories include the
'\' character at the end of their name. The ..\ indicates the parent
directory, and may be double-clicked on to move to the parent.
To 'open' a file , double-click on the file name.
One or more directories or files may be selected to perform other operations
on (like copying, renaming or deleting).
o Using the Keyboard to Traverse the File System
To display files/directories on another disk drive, press and hold the Ctrl
and Shift keys and then press the letter for the drive that you want to
change to.
To change to another directory, use the arrow keys to position the selection
box over the directory you wish to change to in the file display window.
Pressing enter when the desired directory is selected will change to that
directory. Directories include the '\' character at the end of their name.
The ..\ indicates the parent directory, and may be selected to move to the
parent.
To 'open' a file , press enter when the file name is selected.
One or more directories or files may be selected to perform other operations
on (like copying, renaming or deleting).
ΓòÉΓòÉΓòÉ 11. Remembering a Drive's Current Directory ΓòÉΓòÉΓòÉ
To display files/directories on another disk drive, double-click with the
primary mouse button on the drive letter for the drive, or press and hold the
Ctrl and Shift keys and then press the letter for the drive that you want to
change to. MrFile/PM will normally display the root directory for the drive
selected. If Remember Drive's Current Directory is selected from the Options
pull-down menu, however, a drive's current directory is displayed when it is
switched to. The current directory for a drive is normally the last directory
that was displayed on that drive, when you switched to a differing drive.
The state of this Remember option is displayed with a check mark next to the
selection in the Options pull-down menu when active. The state is saved in
MRFILEPM.INI when Save Current Options is selected from the Profile pull-down
menu.
ΓòÉΓòÉΓòÉ 12. Showing All Files in a Directory Tree ΓòÉΓòÉΓòÉ
When Show All Files in Current Tree is selected from the View pull-down menu,
Mr.File/PM will scan the current directory for all files, recursively through
all directories, downward from the current directory ( all files on the drive,
if the current directory is the root (\) ). The scan may take a while to
accomplish, depending upon the size of the current directory.
The fully-qualified file name for each file in the tree will be displayed in
the file display window. The following summarizes some of the uses for
Mr.File/PM in this mode:
o you can find the largest files in the tree (sorting by file size)
o you can find the latest file updated in the tree (sorting by date)
o you can look for duplicate files in the tree (sorting by file name)
o you can search the tree for all instances of a certain file name pattern (by
changing the file mask using the File Mask option from the View pull-down
menu)
Most file operations will be available when operating in this mode. The only
notable exception being traversal of the drive's directory tree. If you click
again on the current drive letter, you will see all files in the tree from the
root, or all files on the current drive. The Quick Change option can be used to
change to other directory trees that you have been using to see the files in
their trees.
ΓòÉΓòÉΓòÉ 13. Selecting Files and Directories ΓòÉΓòÉΓòÉ
One or more files may be selected so that operations can be performed upon them
(e.g. copy, delete, rename...). A single file, or group of files and
subdirectories can be selected within the directory displayed.
o Using the Mouse to Select files/directories
To select a file/directory with the mouse, click on the file or directory
name with the primary mouse button. Other files/directories that were
selected will be de-selected when this is done.
A number of files/directories my be selected by moving the mouse over their
name while holding down the primary mouse button.
To select a list of files/directories that follow each other in the display
window, click on the first file/directory, and then, while holding down the
shift key, click on the last file in the list.
To select a number of files/directory from differing positions in the display
window, click on them while holding down the ctrl key. This will select the
file or directory with out de-selecting those currently selected. The
secondary mouse button may also be used to select files in this manner.
To de-select a file/directory click on it while holding the ctrl key down, or
click on it with the secondary mouse button. .
ALL selected files/directories can be de-selected by selecting another
file/directory by clicking on it with the primary mouse button (shift or ctrl
keys are not held down).
o Using the Keyboard to select files/directories.
To select a file or directory with the keyboard, user the arrow keys to place
the selection bar on the desired file or directory name.
To select a list for files/directories that are located next to each other on
the display, use the arrow keys to move the selection bar to the first bar,
and then move the selection bar to the last file while holding down the shift
key.
ΓòÉΓòÉΓòÉ 14. JUMPing to a file in the display window ΓòÉΓòÉΓòÉ
When large directories are displayed, you can use the JUMP feature of MrFile/PM
to quickly position the selection bar to a particular file name. While holding
down the Space Bar, a key press will cause the MrFile/PM selection in the
display window to JUMP to the first file whose name begins with the letter
pressed (if it exists). More keys may be pressed (while the space bar remains
down) to further qualify the search. When the down or right arrow is pressed
(while the space bar remains down), the next file matching the search string is
selected, the up or left arrow keys move the selection bar to the previous file
that matches the search characters.
For example, to locate MRFILEPM.EXE in the current directory, hold down the
space bar and press the 'M' key. The selection bar will jump to the first file
whose name begins with an 'M' (if any exist in the current directory). With
the space bar still down, press the 'R' key to jump to the first file whose
name begins with 'MR'. Pressing the right or down arrow key, with the space
bar still held down will jump to the NEXT file whose name begins with 'MR'.
The up or left arrow keys will jump to the previous file beginning with 'MR'.
To start a new search, release the space bar, press the home key (to position
the window to the beginning of the display), hold down the space bar and start
pressing keys again.
ΓòÉΓòÉΓòÉ 15. Performing operations on selected files/directories ΓòÉΓòÉΓòÉ
A number of actions can be performed on selected files or directories
o Files/directories can be copied to another drive or directory by selecting
the Copy menu option from the File pull-down menu or by pressing ctrl-c.
The destination dialog will be displayed so that you can selected a
destination for the files/directories to be copied to.
If a directory is selected, all files and subdirectories under the selected
directory will be copied to the destination drive/directory.
You may choose to replace files in the target directory if they have the same
name as the files being copied, or you may choose to replace those files only
if they have the same name as the files being copied, and they are older
(have an earlier modification date) than the files being copied.
o Files/directories can be moved to another drive or directory by selecting the
Move menu option from the File pull-down menu or by pressing ctrl-m.
The destination dialog will be displayed so that you can selected a
destination for the files/directories to be moved to.
You may choose to replace files in the target directory if they have the same
name as the files being copied, or you may choose to replace those files only
if they have the same name as the files being copied, and they are older
(have an earlier modification date) than the files being copied.
o Selected files/directories can be cloned (copied to another name in the
current directory) by selecting the Clone menu option from the File menu or
by pressing ctrl-o. A dialog box will be displayed so that you can enter the
name to which the file or directory should be cloned.
When directories are cloned, all files and subdirectories under the selected
directory will be copied to the new directory.
o Selected files/directories can be renamed (to another name in the current
directory) by selecting the Rename menu option from the File menu or by
pressing ctrl-r. A dialog box will be displayed so that you can enter the
name to which the file or directory should be renamed.
o To Delete selected files/directories, choose the Delete menu option from the
File menu or press ctrl-d. A dialog box will be displayed showing the
candidate files for deletion. You can change your mind about deleting
certain files by double-clicking on the to remove them from the list.
Choosing OK will delete the files/directories listed.
When a directory is deleted, all files and subdirectories in the directory
are also deleted.
o To change the Attributes of selected files/directories, choose the Change
Attributes menu selection from the File menu or press ctrl-b. The dialog
displayed will allow to choose attribute values for setting or clearing on
the selected files/directories.
o To DRAG the selected files over the window of an application that supports
the drag-drop protocol, hold down the secondary mouse button (manipulator
button), and move the mouse pointer over the target application window or
icon. The mouse pointer icon will change to indicate whether or not a target
application can receive dragged files. Files must be selected in the Mr.
File/PM window to be eligible for dragging.
The files may be dragged over a disk drive letter to copy them to a directory
on the indicated drive. The destination window will be shown when the files
are dropped on the drive letter prompting for the directory desired on that
drive.
The files may be dropped over a Communications Manager 3270 Emulator session
to copy them to the host (using a program like ALMCOPY - pleas refer to
Customizing Mr File/PM for instructions on specifying this copy program.
The files may be dropped over another MrFile/PM window (another copy of
MrFile/PM) to copy the files to the directory displayed in the second
MrFile/PM window.
o To execute a command against selected files/directories, select the Commands
menu option from the File menu or press ESC. The command display will be
displayed so that your command can be entered.
The Command Dialog will be displayed automatically anytime you start to type
a command on the file display.
ΓòÉΓòÉΓòÉ 16. Executing Commands ΓòÉΓòÉΓòÉ
You may type in an OS/2 or DOS command to execute at any time, by pressing the
ESC key or simply by starting to type the command.
The command dialog will be displayed, and your command will execute as a
separate process when OK is selected (when you press enter after typing the
command).
Any OS/2 or DOS command or program name can be specified for execution. You
may also specify a command that will execute against selected
files/directories. Select the following for more information on specifying
commands against selected files or directories:
o Help with the Command Dialog
ΓòÉΓòÉΓòÉ 17. Customizing Mr. File/PM ΓòÉΓòÉΓòÉ
Mr. File/PM can be customized in a number of ways through the use of the
Profile pull-down menu.
The Save Current Options selection saves the current state of the following
settings so that they will be re-established the next time that Mr.File/PM is
started:
o the font being used to display drives, directories, and files
o the sort order for the file/directory display
o whether or not file attributes are displayed in the file display window
o the mask that is used for selecting files or directories to be displayed in
the window
The Specify Drive for Temporary Files option from the Profile pull-down menu
allows you to specify the drive on which temporary files will be stored by
Mr.File/PM (command files for execution). A virtual drive is an excellent
choice for this option, since it will improve performance.
The Save Position/Size selection saves the current window size and position on
the screen so that they will be re-established the next time that Mr.File/PM is
started.
Other Mr.File/PM customizations that can be made from the Profile pull-down
menu are discussed in the following three sections (select one of the following
form more details):
o Custom Menu Options
o File/Command Associations
o Drag/Drop Window Associations
ΓòÉΓòÉΓòÉ 18. Changing the File Mask ΓòÉΓòÉΓòÉ
The file mask determines which files are displayed in the Mr. File/PM file
display window. All subdirectories are displayed, regardless of the file mask
specification. The * and ? wildcard characters may be used for the mask
specification in the same manner as with the DIR command.
The default file mask is *. To change the mask, select the File Mask...
selection from the View pull-down menu, or type ctrl-K.
You may also use the Change Mask dialog to display system or hidden files.
These files are not normally shown in the file window.
Multiple mask specifications can be used to determine which files are to be
shown. Each mask wildcard should be separated by a space, comma, or
semi-colon. For example, the *.c;*.h specification will show all C programs
and header files in the current directory (files having an extension of .c or
.h.).
When a mask other than the default (*) is displayed, the line between displayed
drive letters and directories/files will be dashed, to remind you that all
files that exist in the directory may not be shown. When the default file mask
is used, the line between the drives and directories/files is solid.
ΓòÉΓòÉΓòÉ 19. Changing the File Display Length ΓòÉΓòÉΓòÉ
Files are normally displayed in the display window by file name only. To see
file attributes (such as date modified, size and other attributes), select the
List File Attributes selection from the View pull-down menu or press ctrl-L.
The List File Attributes selection or ctrl-L may be used to toggle between long
and short file display modes. All Mr. File selection and command options
operate with the display in either long or short modes.
ΓòÉΓòÉΓòÉ 20. Opening a File ΓòÉΓòÉΓòÉ
To 'open' a file, double-click on the file name in the file display window, or
press enter when the selection bar (dotted box) is positioned on the file name.
The action performed on a file when 'opened' is determined by the file's
filename and is specified in the Profile menu. These actions may be customized
so that your desired actions occur automatically when the file is opened.
ΓòÉΓòÉΓòÉ 21. Quick Change to a Previous Directory ΓòÉΓòÉΓòÉ
Whenever you perform an operation in Mr. File/PM (e.g copying files or
executing commands), the directory you are operating in is saved. After
traversing to another directory in the system, you may switch back to a
previous directory by selecting Quick Change to Previous Directory from the
Options pull-down menu, or by pressing Ctrl-Q. A dialog will be displayed that
lists the last 20 directories in which you performed an operation. Simply
select the directory that you wish to return to and Press the Switch to button
to quickly change back to that directory.
If you would like to remove a directory from the quick change list, select the
directory and press the Delete button.
If you would like to save a particular directory in the quick change list so
that you can move back to it using this option, select Save Current Directory
for Quick Change from the Options pull-down menu or press Ctrl-V while you are
in the desired directory. The current directory will be saved in the quick
change list so that you can switch to it quickly from another place in the file
system.
The Ctrl-W key will switch you back to the most recent directory in the quick
change list (displayed from most recent to least recent when Ctrl-Q is
pressed). You may use this option to toggle between two directories of
interest by following this procedure:
1. Change to the first directory
2. Press Ctrl-V to save the directory ion the quick change list.
3. Change to the second directory
4. Press Ctrl-V to save this directory in the quick-Change list
5. Press the Ctrl-W (walk-back) key to toggle between the first and second
directories.
ΓòÉΓòÉΓòÉ 22. Dragging and Dropping Selected Files/Directories ΓòÉΓòÉΓòÉ
Mr. File/PM supports the Drag/Drop protocol implemented by programs such as
File Manager and the EPM 5.2 editor. To use the drag drop protocol, do the
following:
1. Select files/directories to be transferred to a target application (like
EPM 5.2) in the Mr. File/PM file display window.
2. Press and hold the secondary mouse button (manipulator button).
3. Move the mouse pointer, noting that the pointer image changes as it is
passed over windows or icons that do and do not support the drag/drop
protocol.
4. While over an application that does support drop, release the secondary
mouse button to transfer the selected files to the application.
You may move or copy selected files/directories to another drive/directory by
dropping them on a drive letter at the top of the Mr. File/PM display. The
destination dialog will be displayed to prompt you for the directory on the
selected drive that you wish to move/copy the files/directories to. By
default, selected files and directories are MOVED when dragged and dropped over
a drive letter or another copy of Mr.File/PM. To COPY. the files/directories,
hold down the Ctrl key when dragging the files.
Files may be moved or copied between two instances of Mr.File/PM using the
drag/drop operation.
You may also copy selected files to a host session, using a program like
ALMCOPY.EXE, by dropping the files over the host session window or icon (3270
Emulator window). Mr. File/PM must be configured correctly to do this. Please
refer to Customizing Mr File/PM for more details.
ΓòÉΓòÉΓòÉ 23. Changing the font for the file display ΓòÉΓòÉΓòÉ
To change the font that is used to display files in Mr. File/PM, choose the
Change Font... option from the Options pull-down menu or press Ctrl-h. The
font dialog will be display, initialized with the names of all fonts that could
be found on your system.
Click with the primary mouse button (or use the keyboard to position the
highlight bar) over the font that you would like to switch to. The Mr. File/PM
display will change immediately to the font that you have selected, or an error
message will be displayed if that font is already being used in the Mr. File/PM
window.
Press the OK button on the dialog when you are satisfied with the font that Mr.
File/PM is using, or press the Cancel button to return to the font that was
active before the font dialog was displayed.
You may specify a default font to be used when starting Mr.File/PM. Please
refer to Customizing Mr File/PM for more details.
ΓòÉΓòÉΓòÉ 24. Displaying Size Information ΓòÉΓòÉΓòÉ
To display information on the size of the current directory, selected files,
space allocated and free on the current disk drive, drive label, and largest
block of memory free, select Size Information from the Options pull-down menu,
or press Ctrl-s.
The size dialog may be moved to the side of the MrFile/PM window, and will
remain active until the OK button is pressed, or the dialog window is closed
with the dialog system menu. As you change drives, directories, or select
files, the size statistics in the dialog window will be updated. This mode may
be useful when you are interested in determining sizes for marked files, or are
interested in the sizes of directories in your file system.
ΓòÉΓòÉΓòÉ 25. Starting another copy of MrFile/PM ΓòÉΓòÉΓòÉ
Sometimes it is useful to have more than one directory displayed at one time.
If you start another copy of MrFile/PM, you can quickly examine the contents of
two directories and use Drag/Drop to copy files between the two directories
(dragging files from one copy of MrFile/PM to another MrFile/PM window).
To start another copy of Mrfile/PM, displaying a specific directory,
double-click with the secondary mouse button on the drive letter or directory
name of the specified drive or directory (optionally, you can double-click with
the primary mouse button while holding down the Ctrl key). Another copy of
MrFile/PM will be started displaying the contents of item clicked on (the root
for a drive, if a drive is clicked, or the contents of a specific directory, if
you double-clicked on a directory).
ΓòÉΓòÉΓòÉ 26. Help for Custom Menu Options ΓòÉΓòÉΓòÉ
The Custom Menu Options dialog lets you specify customized actions to be added
to the File pull-down menu for MrFile/PM, or create and add items to your own
pull-down menus from the main action bar. These actions can be used to execute
commands you specify against selected files in the file display area of the Mr.
File/PM window. Select Custom Menu Options from the Profile pull-down menu to
get to this option.
The dialog box displays menu titles for the actions that you configure in a
list box at the top of the dialog. For the selected title, the title text and
associated command is displayed in entry boxes near the bottom of the dialog.
The following actions may be used to change your pull-down menu options:
o To add a new item to a pull-down menu, Type in the Menu Option text that you
would like to appear in the pull-down menu, and specify the command that
should be executed when the option is selected. To do this, you may have to
replace (over-type) the text that is currently displayed in the edit boxes at
the bottom of the dialog. Press the Add button to add your new command to
the Menu. The command will be added immediately after the options that is
currently selected in the list box at the top of the dialog.
o To change an existing menu option, select the option in the list box, and
change the menu option title, and associated command in the edit boxes at
the bottom of the dialog. Press the Change button to have the menu option
changed.
o To delete an existing menu option, select the option in the list box, and
press the Delete button.
o The pull-down menus will display the options you specify in the order that
they appear in the list box at the top of the dialog. You may change the
order that these commands appear in by selecting an option in the list box,
and pressing the To Top button to move the option to the top of the list box.
Normally, the item you describe will be added to the File pull-down menu. You
may, however, create your own pull-down menu from the action bar by specifying
the special character '|' or '_' (undescore) in your menu option text. When
the '|' or '_' character is used in menu option text, the text specified to the
LEFT of the '|' or '_' character is assumed to specify the name of the new
pull-down menu, and the text to the RIGHT of the '|' or '_' character species
one of the selections that will be available in the new pull-down menu.
For example, lets assume that you wish to add a new pull-down menu for
'Editors'. The following entries could be added to the Custom Menu Options
dialog to accomplish this:
Menu Option Text Command to be Executed
------------------- -------------------------
Editors | System Editor .start e.exe /
Editors _ EPM Editor .start epm..exe /
When these options are saved, a new pull-down menu, Editors, will be appear on
the Action bar for MrFile/PM. Selections 'System Editor' and 'EPM Editor' will
appear when the Editors menu is selected. Note that the 'Editors |'
specification in the menu option text for the two selections must be identical
so that both selections appear under the same pull-down menu.
Two special commands may be used to build pull-down menus to change the file
display mask or change to a certain directory. The MASK command may be
specified on the command line with wildcard characters to change the directory
mask that is used to display files in the file display window (similar to the
File Mask dialog selectable from the View pull-down menu). The CD command may
be used with a fully-qualified directory name to change MrFile/PM to a certain
directory.
Custom pull-down menus that change the file mask and change to specific
directories can be configured as shown below:
Menu Option Text Command to be Executed
------------------- -------------------------
Masks | All Files mask *
Masks | Source Code mask *.c;*.h
Masks | Executables mask *.exe;*.com
Directories _ Root cd c:\
Directories _ Accounting cd D:\finances\acct
Directories _ System cd C:\os2\system\
When these options are configured, two new menu items will be displayed on the
MrFile/PM action bar: Masks, and Directories. The Masks menu will display 3
selections that can be selected to alter the file display mask to show
filenames that match the wildcard patters shown above. The Directories menu
can be used to change to the directories specified. Using these two commands,
you can configure your most often-used file masks and directories so they
appear as MrFile/PM pull-down menus.
Once you are finished making your changes, you may press the Save button to
save the changes and immediately change your File pull-down menu. If you
decide that you do not want to make the changes, press the Cancel button to
cancel your updates. The Help button will display help text for using the
dialog.
ΓòÉΓòÉΓòÉ 27. Help for File/Command Associations ΓòÉΓòÉΓòÉ
The File/Command Associations dialog lets you specify customized commands that
should be executed when files matching specific patterns are opened
(double-clicked on with the mouse, or selected when enter is pressed in the
file display window). Select File/Command Associations from the Profile
pull-down menu to get to this option.
The dialog box displays file matching patterns in a list box at the top of the
dialog. For the selected pattern, the pattern and associated command is
displayed in entry boxes near the bottom of the dialog. File pattern use the
normal OS/2 convention: '*' matches 0 or more characters in a file name, and
'?' matches a single character. To match all files, '*.*' would be specified
for the pattern.
The following actions may be used to change your file/command associations:
o To add a new file pattern/command association, Type in the file name pattern,
and specify the command that should be executed when files matching this
pattern are opened. To do this, you may have to replace (over-type) the text
that is currently displayed in the edit boxes at the bottom of the dialog.
Press the Add button to add your new association. The command will be added
immediately after the pattern that is currently selected in the list box at
the top of the dialog.
o To change an existing association, select the pattern in the list box, and
change the pattern and/or associated command in the edit boxes at the bottom
of the dialog. Press the Change button to have the association changed.
o To delete an existing association, select the pattern in the list box, and
press the Delete button.
o When a file is opened, the patterns in the association list are searched from
top to bottom; the first match found specifies the command to be invoked.
Knowing this, you may want to order the list so that more specific patterns
appear first, and more general patterns appear near the end of the list
('*.*' at the top of the list would always be matched, ignoring any other
patterns you have specified). To move a pattern to the top of the list,
select the pattern and press the To Top button.
Once you are finished making your changes, you may press the Save button to
save the changes. If you decide that you do not want to make the changes,
press the Cancel button to cancel your updates. The Help button will display
help text for using the dialog.
ΓòÉΓòÉΓòÉ 28. Help for Drag/Drop Window Associations ΓòÉΓòÉΓòÉ
The Drag/Drop Window Associations dialog lets you specify customized commands
that should be executed when files are dropped over windows whose titles match
the text specified. With this option, you can do things like automatically
send file to the host when they are dropped over a communications manager 3270
Emulator window. Select Drag/Drop Window Associations from the Profile
pull-down menu to get to this option.
The dialog box displays window titles in a list box at the top of the dialog.
For the selected title, the title and associated command is displayed in entry
boxes near the bottom of the dialog. The Window title does not have to be
specified in its entirety - Mr. File/PM will ensure that the title specified
matches the left-most portion of a window title over which files are dropped.
The following actions may be used to change your drag/drop window associations:
o To add a new drag/drop window association, Type in the Window Title, and
specify the command that should be executed when files are dropped over
windows with this title. To do this, you may have to replace (over-type) the
text that is currently displayed in the edit boxes at the bottom of the
dialog. Press the Add button to add your new association. The command will
be added immediately after the title that is currently selected in the list
box at the top of the dialog.
o To change an existing association, select the title in the list box, and
change the title and/or associated command in the edit boxes at the bottom of
the dialog. Press the Change button to have the association changed.
o To delete an existing association, select the title in the list box, and
press the Delete button.
o When files are dropped over a window, the titles in the association list are
searched from top to bottom; the first match found specifies the command to
be invoked. Knowing this, you may want to order the list so that more
specific titles appear first, and more general titles appear near the end of
the list. To move a title to the top of the list, select the title and press
the To Top button.
Once you are finished making your changes, you may press the Save button to
save the changes. If you decide that you do not want to make the changes,
press the Cancel button to cancel your updates. The Help button will display
help text for using the dialog.
ΓòÉΓòÉΓòÉ 29. Command Format ΓòÉΓòÉΓòÉ
The following diagram illustrates the options that are available to you when
specifying a command for Mr.File/PM to execute:
ΓöÇΓö¼ΓöÇΓöÇΓöÇΓö¼Γö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇ<command>ΓöÇ
Γö£ - ΓöñΓööΓöÇ dos ΓöÇΓöÿ
Γö£ + Γöñ
Γöö . Γöÿ
ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
Γöé
ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö┤
Γö£ΓöÇ parms ΓöÇΓöñ Γö£ΓöÇ / ΓöÇΓöñ
ΓööΓöÇ &var ΓöÇΓöÿ Γö£ΓöÇ // ΓöÇΓöñ
Γö£ΓöÇ /f ΓöÇΓöñ
Γö£ΓöÇ /n ΓöÇΓöñ
Γö£ΓöÇ /e ΓöÇΓöñ
Γö£ΓöÇ /p ΓöÇΓöñ
Γö£ΓöÇ /d ΓöÇΓöñ
Γö£ΓöÇ /l ΓöÇΓöñ
Γö£ΓöÇ /m ΓöÇΓöñ
ΓööΓöÇ /cbΓöÇΓöÿ
The <command> symbol represents the name of the command you specify. This
command can be any OS/2 or DOS command or program. The following list describes
the other command parameters.
- Does not pause after the <command> is executed. Normally, the
command is paused after execution until a key is pressed. The '-'
specification at the beginning of the command line cancels this pause
and the task immediately exits after execution of the command.
+ Operates the same as the - parameter above, but starts the session
with the screen MAXIMIZED on the screen.
. Operates the same as the - parameter above, but starts the session
with the screen MINIMIZED (as an icon) on the screen.
dos Executes the <command> in the OS/2 DOS box. Any DOS command or
program can be specified as the <command> symbol using this option.
parms Any needed command parameters.
&var Parameter variables that must be specified before the command is
executed. The Ampersand(&) character before a variable name
indicates that you want Mr.File/PM to prompt you for a parameter
value before executing the command. When the command is executed by
Mr.File/PM, a dialog box will be displayed, showing the command, and
asking for the value of the variable. You may then type in the
parameter value, and press enter to have the value used in the
execution of the command.
A special variable, &path, may be specified to cause Mr.File/PM to
prompt the user for a directory path (using a special directory
dialog to traverse the file system). The directory selected is then
substituted into the command in the place of the &path specification.
Two ampersand characters (&&) may be specified to place a single
ampersand in the command stream. A single ampersand can be placed in
the command stream between commands that should be executed. In this
manner, more than one command may be specified on a single command
line. For example, the command 'dir && date' will execute the
directory command followed by the date command.
/ Substitutes the fully-qualified name(s) for selected
file(s)/directory(ies). The specified command will be repeated for
each file/directory that is selected in the file display window.
// Substitutes the '/' character in the command stream.
/f Substitutes the file name (name + extension) for each selected
file/directory. The specified command will be repeated for each
file/directory that is selected in the file display window. The full
directory path will not be included with the name.
/n Substitutes the name for each selected file/directory. The specified
command will be repeated for each file/directory that is selected in
the file display window. File extensions will not be included.
/e Substitutes the extension for each selected file/directory. The
specified command will be repeated for each file/directory that is
selected in the file display window. File names will not be
included.
/p Substitutes the fully qualified path name for the current directory
in the command. Selected file/directory names are not included.
/d Substitutes the Drive letter for the current directory. The colon
(:) character is not included.
/l Substitutes a list containing all selected files/directories in the
command stream. The selected files/directories are all substituted
in one string and the command is not repeated for each selected
file/directory.
This option is a good choice for loading all selected files into a
single instance of an editor (e.g. epm).
/m Substitutes the current directory mask into the the command.
/cb Substitutes a line of text from the Presentation Manager clip board
into the command. The command will be repeated as many times as
there are lines of text in the clipboard (or as there are selected
files, which ever is greater), substituting each line of text found
in the clipboard in a command.
For example, to download a list of files from your Communications
Manager emulator session, MARK the file names (in fulist or
filelist), and COPY them to the clipboard. The following command can
then be used to download the filenames in the clipboard to your
current MrFile/PM directory:
almcopy ha:/cb
ΓòÉΓòÉΓòÉ 30. The MRFILEPM.INI File ΓòÉΓòÉΓòÉ
Mr.File/PM will create a configuration file named MRFILEPM.INI to store
configuration information for Mr.File/PM. This file can be located in any
directory specified in your PATH= parameter in CONFIG.SYS.
If you wish to locate the MRFILEPM.INI file in a directory that is not in your
PATH specification, you can specify the directory in a special environment
variable, MRFILE_PATH= in CONFIG.SYS. If this variable is used, it will take
precedence over directories specified in the PATH= (e.g.
MRFILE_PATH=C:\MYINIDIR\).
The following sequence describes how Mr.File/PM attempts to locate MRFILEPM.INI
when starting:
1. Mr.File/PM looks to see if MRFILE_PATH= has been specified. If it has, the
program checks to see if MRFILEPM.INI exists in the directory specified.
If MRFILEPM.INI exists in the directory, then it is used. Otherwise, the
user is prompted for the location of the MRFILEPM.INI file, using the
directory specified in MRFILE_PATH as the default.
2. If Mr.File/PM finds that MRFILE_PATH= has not been specified, then the path
is searched (list of directories in PATH= in CONFIG.SYS) looking for the
MRFILEPM.INI file.
If MRFILEPM.INI is found in a directory in the path, then it is used.
Otherwise, the user is prompted for the location of the MRFILEPM.INI file,
using the directory from which MRIFLEPM.EXE was loaded as the default.
Please note that if you specify MRFILE_PATH=, then the PATH= is never used to
search for MRFILEPM.INI. The easiest thing to do is to place the MRFILEPM.INI
file in a directory in your PATH=, usually in the same directory in which
MRFILEPM.EXE is located.
The About Mr. File... selection from the Help pull-down menu will display the
fully-qualified name of the MRFILEPM.INI file that is currently being used by
the program.