WiseCopy

User reference manual

WiseCopy logo

Procedures

WiseCopy allows you to define procedures, or copy programs; a procedure is made by one or more steps, and the steps are executed one after one. To run a procedure is the same as to run WiseCopy several times in a row, each time to do something different: a procedure allows you to do this by starting WiseCopy once and for all and then leave it work.

Procedures are extremely useful, you can create as many procedures as you want, and execute them with a simple double click. A procedure is needed to run WiseCopy unattended, in batch mode. Procedures are what turn WiseCopy into a real copying tool from another one a nice little toy program. Just for example, a procedure enables you, with just one run, to:

  • Copy the folders c:\ folder1, c:\ folder2, d:\ someDfoo on a backup device
  • Copy c:\ folder\*.txt, c:\ folder\Sub1\*. ini, c:\ folder\sub2\*.doc where you like
  • Copy c:\ folder\*.txt c:\folder\Sub1\*. ini, c:\ folder\sub2\*.* excluding c:\ folder\sub2\*. wmv

The limits are dictated by your needs.

Note: procedures are available only if WiseCopy is registered.

WiseCopy procedure


Procedure creation

To create a new WiseCopy procedure, click the Edit menu, then New procedure. The dialog window for procedure editing as above is shown.

Step by step

A procedure is made by one or more steps, numbered starting from 1. Each step is defined exactly as if describing an operation for immediate execution. Therefore, origin, destination, types of files to copy and not copy, and copy options are treated exactly as described for the immediate execution.

When you are done with the first step, you proceed to the second one using the button ">", to scroll one step forward. The second step is completed according to the same rules. There is no limit to the number of steps.

Speeding up

Usually, you copy from a folder or from a disk to another folder or disk keeping to the same folder structure. If this is the case, you can speed up the input of any step using the definitions of procedure source and target folders.

If, for example, you want to copy the folders C:\ MyFolder\ a, C:\MyFolder\b, C:\MyFolder\c to D:\ Save\a, D:\Save\b, D:\Save\c, you should set for the procedure source folder C:\MyFolder, and for the target D:\Save. Doing so, when you select the source folder for a new step, WiseCopy immediately prompt you to choose the the step source folder from C:\MyFolder. And, once selected a subfolder of C:\MyFolder, the step destination field is automatically populated.

Note that every time you save the procedure, the procedure source and target folders are automatically updated by WiseCopy.

Keep track

WiseCopy, as working, lists all the operations executed, and, when finished, lists all the errors that could be occurred. With the execution of a procedure it is possible to keep a permanent record of these operations.

To this end, you have to check Enable box in the Log frame. At each run, WiseCopy will record in a file (the name of which you can specify, defaulting to the name of the procedure, with the extension changed to .log) everything you see scrolling across the screen.

Each new run rewrites the entire file, ie the last execution is saved by deleting all the previous unless the Append option is checked. Note that appending all the time, the log file size grows indefinitely, and, with certain complex procedures involving hundreds or thousands of files to copy, the log file may become unwieldy.

A good compromise is to retain only the log files if and when some error occurs (you must check the Keep log file on error checkbox). In this case, if during the procedure some error occurs, at the end the log file is renamed and saved, and will therefore not be overwritten with subsequent executions. This is especially useful when WiseCopy runs unattended, without the intervention or the presence of any operator.

Saving the procedure

At any time you can save the procedure. If it is new and has never been saved, you will be propted for a name and a location folder. It is strongly reccomended that you maintain the file extension suggested (TWC), which will then let you run WiseCopy with a double click on the procedure file name.

If you try to close the window without saving, you will be asked for confirmation.


Loading a procedure

If WiseCopy was installed using the installer wizard package (which associates the file extension TWC to WiseCopy), the easiest way to load a procedure is to double click the name of the TWC procedure file. So doing WiseCopy starts and opens the selected procedure. You will see the list of the procedure steps in the main program window.

Alternatively, you can run WiseCopy and load the procedure, using the button with the dots to the right of the Batch procedure field, or, quite equivalent, with the menu Edit -> Load procedure. In both cases you are presented with a dialog for opening files of type TWC or WTC (you can also choose any file). You must search for the file containing the procedure you need, and open it. At this point, you will see the list of steps in the program main window.

A third way is to locate in a Windows window the name of the procedure you are interested, and drag it to the Batch procedure field.

Note: the white button to the right of the Batch procedure field is used to clear the procedure name and step set.


Procedure editing

At any time you can, of course, edit an existing procedure. The first thing is to load the procedure, as described above. After that, you have to use the menu Edit -> Edit procedure. The same screen used to create the procedure is shown.

You can scroll through procedure steps using the buttons |<, <,>,>; when on the last step, a new one can be appended using the > button. Also a new step can be inserted in any position, using the Insert buttom, and any existing step can be deleted. Any step, existing or new, can be edited at will.

If you make a mistake, you can abandon any changes with the Cancel button. In this case any unrecorded editing is lost.

At any time you can save your changes. If you want to save the edited procedure in a copy, leaving the original unchanged, choose Save As.


Running a procedure

To execute a procedure, you must first create it and save it to file, or load it from file, as explained above. You can not perform a procedure if not saved to file.

To run the loaded procedure just click Ok. As in the case of the immediate execution, Invert carry out the procedure reverting the copying direction of each step, while Line up does it in both ways.

Set Language Italiano English