Dec 282017
 
File manager written in Turbo C with full source code. By Jim Derr.
File TCFM.ZIP from The Programmer’s Corner in
Category File Managers
File manager written in Turbo C with full source code. By Jim Derr.
File Name File Size Zip Size Zip Type
FM.C 23076 6119 deflated
FM.CFG 2793 711 deflated
FM.DOC 3215 1292 deflated
FM.EXE 27274 15168 deflated
FM.PRJ 18 18 stored
TCUTIL.H 2887 877 deflated
TCUTILS.LIB 25088 7730 deflated

Download File TCFM.ZIP Here

Contents of the FM.DOC file


FileManager
FM is a file/directory manager program. I wrote it in TURBOC to get
familar with the language and to create a filemanager for myself.
FM will work with directories having up to 500 files and/or
subdirectories.

It is fairly straight forward to use. Simply enter fm and the program
will display all the files and sub directories in the current
directory. If you want to look at another directory enter it on the
command line. I.E. fm \turboc\source\ will display the files in the
\turboc\source directory.

When the files and subdirectories are displayed on the screen you can
change to another directory by simply moving the highlited bar to the
subdirectory and press the return key.

To execute a command simply type the command you want to execute in the
command area and press the return key. The command will have the
current drive:\path\name.ext appended to the command before it is
executed. I.E. if you enter copy a: in the command area next to a file
named my.doc in the root dir the following command will be executed:
copy c:\my.doc a:

You can also use the repeat command character (the = sign) to repeat the
previous command for any file listed on the screen.

You can program Function Keys 2-6 ,ALT Functions keys 1-10
and CRTL Functions keys 1=10 to
execute any command you want. This is done by modifying the
fm configuration file fm.cfg. This file must be in a directory
that you specified in the PATH command in your autoexec file.
(SEE the fm.cfg file for details or how to modify this file.)

FM has a few pre-programmed keys, they are as follows:

ALT-A will execute the auto-key feature. This feature allows you to tell FM
to execute a pre-specified command based on the file extension of the
currently highlited file. The auto-commands are specified in the FM.CFG
file.

ALT-D will allow you to change to any directory on any disk.

ALT-M allows you to edit the file mask currently in effect.

ALT-P will execute the highlighted program.

ALT-Q will cause FM to return to DOS but will keep you in the current directory.

ALT-R tells FM to re-read the current directory information.

ALT-T cause FM to tag all files currently displayed.

ALT-X will cause FM to temporarily exit to DOS. To return to FM type
EXIT and press the enter key.
(NOTE: You can also execute any command directly from within FM. To
do this enter a forware slash / then the command you want to execute
in the command area of the screen. The command will be executed, a
pause will be issued, and FM will be re-displayed.)


TAB allow you to alter a files attributes. To set attrs simply enter an
H,S,R, or A in the highlited field and press the enter key. To remove
attrs use the space bar to remove the attrs from the highlited field
and press the enter key.

ESC Quit FM and return to startup directory.


If you have any questions or suggestions for improvements leave me a note
on this BBS.


Hope you enjoy.
Jim Derr
2425 Santa Cruz Ct.
Santa Rosa, CA. 95401


 December 28, 2017  Add comments

Leave a Reply