Instruction Manual

User’s Guide SYSTRAN 5.0 110
Using the SMTU Command Line Interface
When you installed SYSTRAN Professional Premium 5.0, the installation installed the
executable
smtuc.exe in the SYSTRAN root directory (C:/Program
Files/SYSTRAN/5.0/premi/
). You can use this executable to launch SMTU from a
command line and translate batch files. You can also use it to coordinate batch translations
with Microsoft Windows Scheduler.
To view the options available with this executable, run smtuc -h to display the
following online help:
---
Command-line interface to SYSTRAN MultiTranslate Utility.
Usage: smtuc -t[u] BATCH-FILE OPTIONS
-t BATCH-FILE translate batch
-tu BATCH-FILE translate all untranslated entries
OPTIONS:
-s save the batch file after translation
-sa FILE save batch to a different file after
translation
only one -s or -sa is recognized
-v (verbose) explains what is being done
CLI Examples
In the following example, SMTU translates all untranslated entries in the SYSTRAN
batch file project called
My File.sba, located on C:\My Batch Files and saves the
batch file after translation.
smtuc -tu "C:\My Batch Files\My File.sba" -s
In the following example, SMTU translates all untranslated entries in the SYSTRAN
batch file project called
Site.sba, located on C:\My Batch Files and saves the
results in the project called Site_01.sba located on
C:\My Batch Files.
smtuc -t "C:\My Batch Files\Site.sba" -sa "C:\My Batch Files\Site_01.sba"
Using the CLI to Schedule a Translation Job
The CLI can be used with Microsoft Windows Scheduler to schedule batch-file
translations. Windows Scheduler typically is accessed by:
1. Clicking the Start button.
2. Pointing to Program Files, Accessories, and System Tools.
3. Clicking Scheduled Tasks.
4. When Windows Scheduler starts, add a new scheduled task.
5. Double--click the new task. When the New Task dialog box appears,
select
smtuc.exe as the program to run.