zipcreator home

User guide

Getting started

zipcreator interface

Working with zip files

Console mode

Integrating zipcreator

Troubleshooting

Contact the developers

zipcreator > User guide >

Integrating zipcreator

This section documents how to integrate zipcreator with your operating system. This requires a permanent location for the zipcreator.jar file, so you may wish to keep it in a Program Files or Applications directory.

Windows 9x integration

Creating a batch file for Windows 9x

Integrating zipcreator into Windows 95, 98 and Me operating systems requires an intermediate batch file to facilitate passing file arguments to zipcreator. Follow these steps to create a batch file.

  1. Use Windows Explorer to browse to the directory containing the zipcreator.jar file.
  2. Create a new text file in this directory using a text editor such as Notepad.
  3. Enter the following text:

    @echo off
    cd "C:\Program Files\zipcreator\"
    "C:\Program Files\Java\j2re1.4.2\bin\javaw.exe" -jar zipcreator.jar %1


    This example assumes zipcreator is located in C:\Program Files\zipcreator\ and the Java application launcher is located in C:\Program Files\Java\j2re1.4.2\bin\

  4. Save the text file as zipcreator.bat.
  5. In Explorer, double-click on the batch file. The zipcreator application should appear.

    If your batch file failed to start zipcreator, check the paths in the batch file are valid. Paths containing long file names or spaces should be enclosed in quotes, as shown above.

Creating a shortcut to zipcreator

  1. Use Windows Explorer to browse to the location of the batch file zipcreator.bat created earlier.
  2. Copy this file to the clipboard.
  3. Use Explorer to browse to the destination where you wish to create the shortcut, then right-click and choose the "Paste shortcut" command from the popup menu.
  4. You can now drag this shortcut to the desktop, Start menu or Quick Launch toolbar.

    You can also copy the shortcut to the Windows Send to directory to add zipcreator to Explorer's "Send to" menu.

Associating zip files with zipcreator

You can associate zip files with zipcreator so that when you double-click on a zip file, it automatically opens in zipcreator.

The precise method for doing this depends on whether there are any existing file type associations for zip files. To test this, start Windows Explorer and browse to a directory containing a zip file, then double-click on a zip file. One of two events will happen:

Remove an existing file association

  1. The following steps should only be performed if you wish to remove an existing file association between zip files and another application. If such an association exists, perform these steps before creating a new file type.
  2. Use Windows Explorer to browse to a directory containing a zip file, then right-click on a zip file and choose the "Properties" command from the popup menu. Make a note of the "Type" value indicated in the "Properties" dialog, then click the Cancel button.
  3. In Windows Explorer, choose the "Folder Options" menu command from the "View" menu.
  4. When the "Folder Options" dialog appears, choose the "File Types" tab. Scroll through the Registered file types list until you find the zip file type noted earlier from the Properties dialog.
  5. Select the zip file type, then click the Remove button. This will remove the existing association.
  6. Click "OK" to close the "Folder Options" dialog.

Creating a new file type for zip files

If you double-click on a zip file in Windows Explorer and the "Open With" dialog appears, then perform the following steps to associate zip files with zipcreator.

  1. In the text box, enter a description such as "Zip file".
  2. The zipcreator application won't be listed in the "Choose the program you want to use" list, so click the "Other..." button to display the "Open With..." dialog.
  3. In this dialog, change the "Files of type" selection to "All Files", then browse to the zipcreator.bat file created earlier. Select this file and click the "Open" button.
  4. Click "OK" in the "Open With" dialog to confirm the change. You should now be able to double-click on zip files to open them in zipcreator.

Windows 2000 / XP integration

Creating a shortcut for zipcreator

  1. Use Windows Explorer to browse to the directory containing zipcreator.jar, then right-click on this file and choose "Create shortcut" from the popup menu.
  2. Rename this shortcut zipcreator, then right-click on the shortcut and choose "Properties".
  3. Set the "Target" as follows, replacing <jre bin path> with the path of your Java Runtime Environment's bin directory:

    <jre bin path>javaw.exe -jar zipcreator.jar

  4. Make sure the "Start in" path is set to the directory containing zipcreator.jar.
  5. After creating the shortcut, you can drag it to the desktop, to your Start menu or to your Quick Launch toolbar.

    You can also add zipcreator to the "Send to" menu that appears when you right-click on a file in Windows. To do this, copy the shortcut to the your "Send to" directory.

Associating zip files with zipcreator

  1. Start Windows Explorer and choose the "Folder Options" command from the "Tools" menu.
  2. Click the "File Types" tab, then scroll through the list to find the "ZIP" extension.

    If no file type exists for zip files, click the "New" button. In the "Create New Extension" dialog, enter zip in the "File Extension" box then click "OK".

  3. Select the "ZIP" extension in the "Registered file types" list, then click the "Advanced" button to display the "Edit File Type" dialog.
  4. If necessary, enter a suitable "Description of the file type" such as ZIP File.
  5. In the "Actions" section, click the "New" button to display the "New Action" dialog. In the "Action" box, type Open with zipcreator.
  6. In the "Application used to perform action" box, type:

    <jre bin path>javaw.exe -jar <zipcreator path>zipcreator.jar "%1"

    Make sure you replace <jre bin path> with the path of your Java Runtime Environment's bin directory and <zipcreator path> with the directory containing the file zipcreator.jar.

  7. Now click "OK" to return to the "Edit File Type" dialog.
  8. In the "Actions" list, the default action is shown in bold. If there are multiple entries in the list, you can select your new "Open with zipcreator" action and click the "Set Default" button.
  9. Click "OK" to return to the "Folder Options" dialog, then click the "Close" button.
  10. In Windows Explorer, test the file type association.

Linux integration

Associating zip files with zipcreator

You can associate zip files with zipcreator so that when you double-click on a zip file, it automatically opens in zipcreator. To do this, perform the following steps.

  1. Use the Launch menu or its equivalent to display the system control panel. The menu command for starting the control panel depends on your Linux distribution, but may be named “Settings”, “Preferences” or “Control Panel”.
  2. Use the control panel to display the list of file associations. This list of known file types is usually organised into categories such as “all” and “application”. Select the "application/x-zip" file type from the list.
  3. Add a new application to associate with the file type, entering the following path:

    <jre bin path>java -jar "<zipcreator path>zipcreator.jar"

  4. If multiple applications are already associated with the x-zip file type, move the new zipcreator association to the top of the list. Then apply your changes.

Associating jar files with the Java Runtime Environment

If you double-click on the zipcreator.jar file and zipcreator fails to start, you should associate jar files with the Java Runtime Environment. However, not all jar files are executable Java applications.

  1. Use the Launch menu or its equivalent to display the system control panel and display the list of file associations.
  2. Select the "application/x-jar" file type from the list of known file types, then add a new application to associate with this file type. Enter the following path:

    <jre bin path>java -jar

  3. If multiple applications are already associated with the x-jar file type, move the new association to the top of the list.

Mac OS X notes

Executable jar files like zipcreator can be started by double-clicking them from a Finder window.

You may want to put the zipcreator.jar file in a folder such as Applications. You can then make an alias for zipcreator and move the alias to the desktop.

Using the Terminal

You can use the Terminal utility to launch zipcreator. To start the Terminal, go to Applications, open the Utilities folder and double-click the Terminal icon. In the Terminal window, change to the folder containing the zipcreator.jar file using a command such as:

cd /Applications/zipcreator/

You can then start zipcreator using the Console mode syntax. For example:

java -jar zipcreator.jar