View unanswered posts | View active topics It is currently 30 Oct 2014 07:40



Post new topic Reply to topic  [ 4 posts ] 
Import  Binary work from Package to package using LSCMD 
Author Message

Joined: 08 Aug 2012 09:24
Posts: 14
Post Import  Binary work from Package to package using LSCMD
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.


12 Sep 2012 03:01
Profile

Joined: 10 Feb 2012 02:20
Posts: 4324
Post Re: Import  Binary work from Package to package using L
Can you see if there is any output from this command:
Copy and paste it into a reply.

Code:
LSCMD /?


12 Sep 2012 03:49
Profile

Joined: 08 Aug 2012 09:24
Posts: 14
Post Re: Import  Binary work from Package to package using L
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.


12 Sep 2012 04:45
Profile

Joined: 10 Feb 2012 02:20
Posts: 4324
Post Re: Import&nbsp; Binary work from Package to package using L
Try these two:

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


Code:
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:
lscmd /IMP ?


12 Sep 2012 09:22
Profile
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 


Who is online

Users browsing this forum: Bing [Bot] and 16 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Forum style by Vjacheslav Trushkin for Free Forums/DivisionCore.