home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
High Voltage Shareware
/
high1.zip
/
high1
/
DIR24
/
DCOPYPM6.ZIP
/
DCOPY.DOC
< prev
next >
Wrap
Text File
|
1993-12-10
|
10KB
|
211 lines
Overview DCopy V0.9b
Author: Axel Peters
Hof 20
D-52062 Aachen
Germany
Tel. +49-241-28526
You can reach me:
Fido-Classic: 2:242/53.25 (in future: 2:2452/109.25)
Internet: apeters@train.fido.de
News in Version 09b:
- multithreading
- improved PopUp-menu ( DLL-support, open without selection for e.g shell )
- examine programms, befor executing them
- default filemasks
- default directories
- some minor bug fixes
- ask for next diskette, if previous is full, during copy
News V09c:
- duplicate function
News V09d:
- start seamless Windows-Programms
- DLL-supporting Undelete
- added some parameters for Popup-Menu
All registered Users will get Version 1.0 soon
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
! !
! The author makes no warranty for any functions of DCOPY. !
! !
! Be carefull deleting Directories, because DCOPY deletes whole directory-trees, !
! with all subdirectories. !
! DCOPY V0.9d is ShareWare. If you find this software usefull, please send !
! 25.- DM (or $25 US) to the author ( so you will get a next version ). !
! !
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Sorry, there is just a small english Dokumentation, a bigger own will follow.
So here are just a few hints for using DCOPY.
Install DCOPY on your Desktop with the program-template. All Files
must be in the same Directory. ( DCOPY.EXE DCOPY.TIC DCOPY.CNF DCOPY.DOC )
If there are Problems with the dialogboxes, try using parameter "D".
So they will be aligned to the desktop, not to the program-window.
The file-box on the left side of the window shows the Source-Directory,
the right box shows the Destination-Directory.
Buttons on the left side only affect Files selected in the left file-box.
Buttons in the middle of the window need a source-file and a destination Directory
to be selected.
Buttons on the right side only affect Files selected in the right file-box.
First you must specify a Drive, so klick on the drive you want to use as the
Source and Destination-Drive.
After this, the File-box will show the root-directory of the specified drive.
Directories will be bounded by "[]". You can change a directory with a double-
click on the Directory-name.
If you select a File or Directory the actual selected size of all files will be shown.
You can use a filemask, in order to choose interesting files for your operation.
The filemask can be entered by pressing the MASK-Button.
To use more than on filemask seperate them with a colomn (";")
e.g. "*.c;*.h;*.mak;*.dep" to use four filemasks.
If you are using a filemask, only matching files will be copied, deleted
or shown in the specified directory.
e.g. enter filemask "*.bak". Then select a directory (or a tree) and press
the delete button. In the following Dialog "Confirm with selection" you should
see your mask "*.bak". So if you press the DELETE-button only files matching
your filemask will be deleted.
This selection also affects the TREE-, COPY-, DELETE-, AIO-, MOVE-buttons.
The Aio-Button means: Copy Files "All in one" Directory. So all matching files
in the specified directory-tree will be copied to one destination-directory.
If you have selected a file, you can use the right mouse button to open an
PopUp menu. This menu will be configured with the DCOPY.CNF-file. You can
start external tools, while using the selected files as parameters.
There is a sample configuration included in the package.
Popup-Menu
Edit... , EPM.EXE, %a
Run... , %p
!
Tool... , %q, %q, %f
Shell... , CMD.EXE
Attrib... , ATTRIB.EXE , %q, %f
!
>Packer
<PKUnzip... , PKUNZIP2.EXE, %f, %w, %o, %n, %d
<PKZip... , PKZIP2.EXE, %q, %a, %w, %r
<PKValidate... , PKUNZIP2.EXE, -t, %-, %f
<Unzip.. , UNZIP.EXE, %f, %w, %r
!
dll... , suppdel.dll, Supp_Del, %-, %a
#
(example popup-menu-configuration)
"Popup-Menu": here starts the menu chapter ( other chapters will follow )
"#" ends the menu chapter, each line inside this chapter will be used
as a menu item
"!" insert seperator
">" Name of a Submenu ( no tools can be used )
"<" Submenu item ( same as normal items )
"Edit...": Text of menuitem.
"EPM.EXE": Tool to start.
"%a": All selected files will be parameters for tool.
"%p": Selected File will be executed
"%f": Only first file will be parameter for tool.
"%w": Wait until tool has finished.
"%r": Refresh file-box selected ( only usefull if wait (%w) is used ).
"%o": Refresh file-box not selected ( only usefull if wait (%w) is used ).
"%q": Query paramameter with dialog-box.
"%s": Source-Directory
"%d": Destination-Directory
"%n": Do not termiante tool.
"%c": start in OS/2 Fullscreen modus
"%b": start maximized
"-t", "%-": All tokens without "%" are directly passed to the command line.
Because some options are used without a space, this is
the default usage.
e.g. PKUNZIP2.EXE, -t, %f will be interpreted as
"PKUNZIP2 -t<filename>".
So you must use the "%-" token to insert a space in the
commandline
e.g. PKUNZIP2.EXE, -t, %-, %f will be interpreted as
"PKUNZIP2 -t <filename>".
If you do not specify the directoy in the name of a tool, be shure to use it
in the path enviroment variable. You must use a comma to separate the options !
In the actual version there can be defined up to 50 menuitems. This is nearly
no limitation. But you should use Subdirectories in order to get a small
menuboard and a better overview.
DCopy is now able to start all programm types (?!). You can use OS/2, DOS, WINOS2
programms or OS/2, DOS batches ( or develop your own DLL ) in your Popupitem.
These executeable Files must have an apptype. If your prg. does not have one, you must
use "MARKEXE.EXE" to define the right apptype. Programms even can be defined as
WINDOWCOMPAT in order to use a windowed session.
You can specify predefined filemasks in the "File-Mask" chapter of the cnf-file.
File-Mask
*.bak
*.c;*.h;*.mak;*.dep;*.rc;*.res;*.dlg;
*.exe;*.com;*.cmd
#
(example filemasks in dcopy.cnf)
New filemasks will not be saved into your cnf-file. They are only valid for your
current session.
With the "S"-buttons you can "snapshot" your current directory path. So you can
select your directory later once again.
In order to use predefined directories there are two chapters added to the cnf-file
"Source-Dir" and "Dest-Dir".
Source-Dir
C:\TMP
D:\OS2\SYSTEM
#
Dest-Dir
A:\TEST
D:\OS2\SYSTEM
#
(example direcories in dcopy.cnf)
New directories will not be saved into your cnf-file. They are only valid for your
current session.
There is still a small bug if you do not specify a directory while selecting the
combination box. Because I use an entry-field in order to justify the actual path
to the right side and the combinationboxe just support left-justify, both fields are
positioned at the same position. So the entryfield is not always refreshed when it
needs refresh. To avoid this bug klick on the edges of the filebox and the path will
be refreshed. ( is there a posibility to get a message when the combo-box closes ? )
If you kill an action with the "STOP"-button the second thread is killed.
So there might be in incorrect display of your current directory. In order to get
the actual contents use the "Refresh"-buttons.
You can create a support DLL for tools on your own. I included the posibility to call
funktions from the Popupmenu in your DLL's. This feature is only interresting for
users, that can build there own DLL. The last line of the popupmenu configuration
shows the call of an DLL-routine. First you must specify your DLL-name ( Be sure that
OS/2 will find your DLL with the LIBPATH statement ). Then you must specify the function
in your DLL. The function will recieve two parameters. First the modulehandle, then the
windowhandle of the mainwindow, after that the parameters selected with the menu-options.
If somebody wants to use this interface, he should get more informations from me.
There is an sample DLL that opens an Request added to this packet
( Copy SUPPDEL.DLL to \OS2\DLL ). Be sure to use the correct compile-options, if you
build your own DLL.
I hope you will be able to use DCOPY with this few explanations. This is a very
fast and I think usefull tool for OS/2 2.x.
With the sample configuration you can use DCOPY to "unzip" your downloads and read
documentations, or execute the new programm without leaving DCOPY.
If you have problems with DCOPY try to contact me.
Axel Peters