FileReplacer

www.sehman.com

You must read and understand EULA before you start using FileReplacer.

FileReplacer is a utility which helps you find, replace and delete files on your system. You can either launch FileReplacer and interact with it's graphical user interface, or run it in a silent mode. While running in a silent mode, there is no need for user intervention and all the required properties can be passed using command line arguments. FileReplacer is written using the latest .NET technology.

Installation

To install FileReplacer:
  1. Run the setup application
  2. Read and agree to the End-User License Agreement (in EULA.html)
  3. Follow the instructions of the installation wizard.
  4. Execute the application.

Demo Version

If you have downloaded the demo version of the FileReplacer then you have seven (7) day time frame to evalute it. After which you must buy or remove it from your system. The demo version cannot be used to generate production applications. After seven days the product will become unusable. At that point you must enter the valid serial number to un-lock the product.

FileReplacer in Silent Mode

FileReplacer can be launced in a silent mode, which means that user will not have to interact with the GUI. You can pass all the parameters as command line arguments.

A typical call to FileReplacer could look like following:

FileReplacer /S /F c:\MyFolder /R c:\abc.txt,c:\program files\vs.dll /D c:\junk\junk.dll

Command line arguments:

/S

This switch is to turn-on sub-folders recursive search. Absence of this switch will make FileReplacer to search in the folder provided by /F (switch) only, and not in the sub-folders.

/F

FileReplacer will search starting from this folder. Absence of this switch will make FileReplacer to search in it's own folder. If /S (switch) is present then sub-folders will also be searched. Examples:
  • /F c:\
  • /F D:\Program Files
  • /F c:\MyFolder

/R

Provide comma separated full path of the files. FileReplacer will search for files with the same name and then REPLACE all those files with these files. There is virtually no limit to the number of files. Examples:
  • /R c:\abc.txt,D:\MyStuff\Hello.doc
  • /R D:\Program Files\vs.dll,z:\App.exe,x:\go\download\internet\bol.html
  • /R c:\MyFolder\MyFile.doc

/D

Provide comma separated full path of the files. FileReplacer will search for files with the same name and then DELETE all those files. There is virtually no limit to the number of files. Examples:
  • /D MyJunkDocument.doc,abc.txt,Hello.doc
  • /D Delivery.dll

You can check the XML log file to see the activity of the FileReplacer

FileReplacer in GUI Mode

If you launch the FileReplacer without any command line parameters then you will see the following dialog-box.

You can either drag and drop files from windows explorer to this dialog-box, or double click on any empty space to open the file dialog. As you add or drop files on this form, they will show-up, with their full path, in the Added Files list. Controls are provided for you to clear this list.

After you are done adding/clearing files, you can select the desired folder in which you want to search these files. If you want FileReplacer to search sub-folders as well then check the 'Include sub-folders', otherwise uncheck it.

Click on 'Search Checked Added Files' button to search for all the checked files (from added list) with the same names. At this point dialog-box might look like following:

As FileReplacer locate files with the same names, it will add those files to the 'Search Result' list.

You can check or uncheck files and then either replace or delete those files just by clicking one button.

FileReplacer Logs

You can click on the 'Logs' button to view the logs of FileReplacer. Logs are provided in the XML format.

FileReplacer About

You can click on the 'About' button to view the FileReplacer's Info which looks like following:

From About box, you can update the Serial Number as well. If you downloaded the DEMO version then this will allow you to update the serial number and give you unlimited access of the FileReplacer.

Logs in XML Format

A log file is generated in the same folder as the FileReplacer itself, and is called FileReplacer.xml. This will help you when you run FileReplacer in the silent mode. You can read the XML file to see exactly which files were found, replaced or deleted from the system. A typical XML file may look like this:

<?xml version="1.0" encoding="utf-8"?>
<FileReplacer>
  <FilesAdded>
    <FileAdded>C:\MyResume.doc</FileAdded>
    <FileAdded>C:\MyResume2.doc</FileAdded>
  </FilesAdded>
  <FilesReplaced>
    <FileReplaced>
      <From>C:\MyResume.doc</From>
      <To>C:\MyStuff\MyResume.doc</To>
    </FileReplaced>
    <FileReplaced>
      <From>C:\MyResume.doc</From>
      <To>C:\MyStuff\drivers\MyResume.doc</To>
    </FileReplaced>
    <FileReplaced>
      <From>C:\MyResume.doc</From>
      <To>C:\MyStuff\drivers\R60084\Graphics\MyResume.doc</To>
    </FileReplaced>
    <FileReplaced>
       <From>C:\MyResume.doc</From>
       <To>C:\MyStuff\drivers\R60084\Graphics\Support\MyResume.doc</To>
    </FileReplaced>
    <FileReplaced>
      <From>C:\MyResume.doc</From>
      <To>C:\MyStuff\drivers\R61149\MyResume.doc</To>
    </FileReplaced>
    <FileReplaced>
      <From>C:\MyResume.doc</From>
      <To>C:\Documents and Settings\MyResume.doc</To>
    </FileReplaced>
    <FileReplaced>
      <From>C:\MyResume.doc</From>
      <To>C:\Program Files\MyResume.doc</To>
    </FileReplaced>
    <FileReplaced>
      <From>C:\MyResume.doc</From>
      <To>C:\WINDOWS\Microsoft.NET\Framework\v1.0.3705\MyResume.doc</To>
    </FileReplaced>
  </FilesReplaced>
  <FilesFound>
    <FileFound>C:\MyResume.doc</FileFound>
    <FileFound>C:\MyResume2.doc</FileFound>
    <FileFound>C:\MyStuff\MyResume.doc</FileFound>
    <FileFound>C:\MyStuff\drivers\MyResume.doc</FileFound>
    <FileFound>C:\MyStuff\drivers\R60084\Graphics\MyResume.doc</FileFound>
    <FileFound>C:\MyStuff\drivers\R60084\Graphics\Support\MyResume.doc</FileFound>
    <FileFound>C:\MyStuff\drivers\R61149\MyResume.doc</FileFound>
    <FileFound>C:\Documents and Settings\MyResume.doc</FileFound>
    <FileFound>C:\Program Files\MyResume.doc</FileFound>
    <FileFound>C:\WINDOWS\Microsoft.NET\Framework\v1.0.3705\MyResume.doc</FileFound>
    </FilesFound>
<FilesDeleted>
  <FileDeleted>C:\MyStuff\drivers\MyResume.doc</FileDeleted>
  <FileDeleted>C:\MyStuff\drivers\R60084\Graphics\MyResume.doc</FileDeleted>
  <FileDeleted>C:\MyStuff\drivers\R61149\MyResume.doc</FileDeleted>
</FilesDeleted>
  <Errors>
    <Error>Access to the path "C:\System Volume Information" is denied.</Error>
  </Errors>
</FileReplacer>

© 2004-2005 Sehman Inc. All rights reserved.