FILEMONKEY FAQ
Copyright MonkeyJob Systems 2005
All rights reserved

Home FAQ Forums Contact
Download Tutorials FAQ Awards Reviews Report Bugs
 Search For Data
   

Copy Target Files



Note: FileMonkey now has an in-built copy and move feature. Click HERE for a tutorial.

The following tutorial will demonstrate how to use FileMonkey to copy (duplicate) files to one location (folder). Note - if you want to move rather than copy files then use the Move Files.FM script in the command line feature.

This operation will not work if the following files are not installed on the command path:

Attrib.exe
XCopy.exe

These files are part of a standard windows installation and should therefore be present on any windows operating system.

If there is a duplicate file name in the destination folder then none of the duplicates will be copied.

This operation will be done using the command line feature.

1.

Target your files in the main window. Click HERE for a targeting tutorial.

2.

Once you have targeted your files, select the "Quick-Find, Command Line" menu item from the main window.

3.

The Create/Run batch file window should now be open

Fig 1
make batch jobs

4.

From the menu bar at the top of this window, select the "File / Load Code" menu item.

Fig 2
find copy script

5.

This will open the load file dialogue box (Fig 2).

Use this box to navigate to the folder that FileMonkey is installed in (This is usually something like: C:\Program Files\FileMonk)

Select the file Copy Files.FM and click the "Load" button.

6.

Next, you need to enter the folder that you wish to copy all files to.

Find the following line:

set DestDir="C:\_Backup"

Fig 3
create copy job


7.

We have entered the folder "C:\_Backup" as the default backup folder (Fig 3). You may want to change this to something else.

Delete the text "C:\_Backup" and enter the path that you wish to use here .

You MUST keep the encompassing quote marks otherwise this operation may not work.

For example: If you wish to use the path C:\My Documents then replace the line:

set DestDir="C:\_Backup"

with the line:

set DestDir="C:\My Documents"

8.

To start the operation, select the "File / Compile And Run" menu item.



Related Topics:
FileMonkey Tutorials
Frequently Asked Questions
Moving Target Files
Problems using the Copy Files.FM script

  | About Us | Privacy Policy | Terms Of Use | Affiliates | Forums | Copyright 2003 MonkeyJob Systems All Rights Reserved |