# Transforming DITA to Word with Java™ command

1. On the command line, enter the command `java -jar lib\dost.jar /i:<input> /outdir:<out> /transtype:wordrtf`. `<input>` means the name of ditamap file to be transformed, and `<out>` means the output directory.
2. After processing and generating, a single output file in .rft format occurs in the specified directory, such as in e:/output/diat2word..
3. You can use Microsoft® Word to open the output file.
4. You can also further edit the output file by using tools in Microsoft Word.

Parent topic: DITA to Word output transform