Use the TextFormatUpgrade2013 command-line tool to convert Microsoft Dynamics NAV objects from Microsoft Dynamics NAV 2009 that have been exported to .txt files. These conversions are part of the Microsoft Dynamics NAV 2013 R2 upgrade process. The tool is provided in the UpgradeToolKit\Object Change Tools folder on the Microsoft Dynamics NAV 2013 R2 installation media.

The TextFormatUpgrade2013 tool replaces strings in code and object properties that were appropriate for Microsoft Dynamics NAV 2009, with strings that are appropriate for Microsoft Dynamics NAV 2013 R2.

The tool takes a single argument, which is either a .txt file to be converted, or a folder that contains multiple .txt files to be converted. The output is written to a subdirectory of the directory that contains the source text file. The names of the output files are the same as the input files. The subdirectory is named Converted. The tool will create this subdirectory if it does not exist, and will overwrite existing files if they exist. For example, if the command that runs the tool resembles the following:

Copy Code
TextFormatUpgrade2013.exe c:\OldBaseVersion\AllObjects.txt

The file that the tool creates is c:\OldBaseVersion\Converted\AllObjects.txt.

The conversions performed by the TextFormatUpgrade2013 tool are specified by the TextFormatUpgrade2013.exe.config file. This file uses regular expressions to specify string replacements, and must be present in the same directory as the tool itself.

See Also