Page 1 of 1

Import  Binary work from Package to package using LSCMD

Posted: 12 Sep 2012 03:01
by moh_salah8
Hello All,

I've a problem with this command line as I can't deal with it.

This command responsible for Importing binary works form files which the extension of them (.lspkg) to another .lspkg files.

Using LocStudio Command below will help in this task:
LSCMD edb_file /IMP -IN source_edb [-A]
- A
Imports all binary data
- edb_file
Specifies the name and location of the software database.
- IN source_edb
Specifies the name and location of the software database which contains the data you want to import.

Ex. Suppose that you have Arabic Package called "ESC.lspkg" and Hebrew Package called "ESC.lspkg" and we need to import binary works from Arabic to Hebrew package.

Arabic Package Path: C:\Bin\ara
Hebrew Package Path: C:\Bin\heb

Here is the command we should use:
LSCMD C:\Bin\heb\esc.lspkg /IMP -IN C:\Bin\ara\esc.lspkg –A

I've tried to apply this command but there is an error appeared "Open project failed "

Please try to help me to execute this command because it will rescue me and save more time.

thanks.

Re: Import  Binary work from Package to package using L

Posted: 12 Sep 2012 03:49
by foxidrive
Can you see if there is any output from this command:
Copy and paste it into a reply.

Code: Select all

LSCMD /?

Re: Import  Binary work from Package to package using L

Posted: 12 Sep 2012 04:45
by moh_salah8
This is the output details:

LocStudio Command Line Automation Tool Version 6.12.6202
Copyright (C) 1993-2010 Microsoft Corporation. All rights reserved.

LSCMD [/U | /L | /R | /G] [drive:][path]ProjectName
[/S SourceFolder] [/T TargetFolder] [/D] [/F] [/O ReportFile]
[/A [UpdateLogFolder] ] {/E ExtensionID | /X ExtensionName}
[/I Single File Name] [/N Username] [@CommandList]
[/IMP] [/COPY]
[/SAVES [-d description] settings filename]

/TL <lang> Specify target language.
/SL <lang> Specify source language.
/U Update the Project
/L Upload the project
/R AutoTranslate the project
/G Generate the Project
/I Single File Name
ProjectName The LCX Project File Name
/S The Root Folder Containing the Source Files
/T The Root Folder Containing the Target Files
/D[U | G] Only Update or Generate modified Files
/F Fail Safe Generate - use Source Text for Updated items
/O File that will contain all warning and error messages
/A Create Update Log File
/E Extension ID to run.
/N Set username
/IMP Import Data. Type "lscmd /IMP ?" for further help.
/COPY Copy Data. Type "lscmd /COPY ?" for further help.
/SAVES <file name> [-D "Description Text"] Saves the settings of the currently
opened project to the specified file
/X <extension name> [-OUT OutputFile] Runs the named extension on the currently
open project.
/PARSER <FullPath\Parser.dll> Registers a parser with LocStudio.
@CommandList Text file containing a list of projects to Update/Generate/Upload
Notes:
The order of operations is: Update, Upload, Autotranslate then Generate.
Both SourceFolder and TargetFolder can be relative paths from the
ProjectName location.
Extension are executed last.

Re: Import&nbsp; Binary work from Package to package using L

Posted: 12 Sep 2012 09:22
by foxidrive
Try these two:

Code: Select all

LSCMD "C:\Bin\heb\esc.lspkg" /IMP /IN "C:\Bin\ara\esc.lspkg" /A


Code: Select all

LSCMD "C:\Bin\heb\esc.lspkg" /IMP -IN "C:\Bin\ara\esc.lspkg" –A


If they don't work then please also provide the help from this command:

Code: Select all

lscmd /IMP ?