Convert

<< Click to Display Table of Contents >>

RayPack > 7.3 u6 > User Guide > Command Line Tools > Silent Command Line Switches 

Convert

Description

This switch instructs 7.3 u6 to convert a specified project or a folder containing projects to the RPP format.

 

papercliper

Note:

To use this command, certain prerequisite software has to be installed on the machine. Read the Converting 3rd party projects to RPP projects section for more details.

 

Parameters

Parameter

Required

Description

-Source <path>

 
YES
 

 
Full path to the source folder or source project file (for example C:\SourceProjects or C:\SourceProjects\Project1.ism).
 
If the value of this parameter points to a folder, RayPack will scan its content and look for any .ism or .wsi files. If the value of this parameter points to a file, that file will be converted. To control inclusion of subfolders, use the -recursive switch.

 

papercliper

Note:

If the value does not contain a valid and existing file or folder path, RayPack will convert nothing, treating the provided path as a non-existing folder.

 

-Target <path>

 
YES
 

 
Full path to the output folder (for example C:\ConvertedProjects).

 

RayPack will use the file name of converted project and save the converted .rpp file in the specified folder, using the name of the original file. If the folder does not exist, it will be created automatically.
 

-IgnoreErrors

 
NO
 

 
Determines the behavior of RayPack when any error during conversion is encountered.

 

This parameter is optional and has no result if only one project is converted at once. Without this parameter, when two or more projects are converted at once and any errors is encountered during the conversion process, RayPack stops execution immediately, logs an error and return exit code 8. By setting the IgnoreErrors flag, the process continues and always returns exit code 0. The packages that failed are logged in the console window.
 

-Recursive

 
NO
 

If present, then the subfolders are also included in a recursive search for .ism or .wsi files.

Example

RpCmd.exe Convert 

-Source C:\OldProjects 

-Target c:\RppProjects 

-Recursive