If you plan to edit any of the documents contained in an archive, you must first extract the archive file. To do this, you use the command-line utility OdArc.exe. After saving your changes to the documents, you use the same OdArc.exe utility to recompress the archive so that it can be imported. 


OdArc.exe is stored in the directory in which the Developer is installed. Therefore, you must change to this directory in order to execute OdArc.exe from the command line.


The syntax for extraction is as follows:


odarc /x <archive_path> <destination_folder> 


where

During archive extraction, the OdArc utility processes the selected archive and writes its contents to the specified location in the form of an archive manifest and a collection of folders for the documents contained in the archive. Because the functioning of the archive depends on its relative structure, you should always extract each archive to a clean, empty folder, so that the folder contains only the extracted archive files. This destination_folder location can be a subfolder of the directory containing the archive to be extracted, or it can be a completely different location. However, you should not extract an archive into the same folder in which the archive itself is located.


As an example, consider a Developer archive file named "test.odarc" that was exported to the "temp" directory at the root of the local computer and is to be extracted to a subfolder named "extract" in the same directory, the command line should read:


odarc /x c:\temp\test.odarc c:\temp\extract 


Tip: As with all command-line utilities, you must enclose folder names and paths in double quotation marks (") if they include spaces. For example, if the archive mentioned above had been exported to a folder named "export" on the desktop of the local computer, the command line should read:


odarc /x “c:\documents and settings\userid\desktop\export\test.odarc” “c:\documents and settings\userid\desktop\export\extract” 


Table of Contents