DosTips.com

A Forum all about DOS Batch
It is currently 04 Dec 2016 12:23

All times are UTC-06:00




Post new topic  Reply to topic  [ 4 posts ] 
Author Message
PostPosted: 12 Sep 2012 03:01 
Offline

Joined: 08 Aug 2012 09:24
Posts: 14
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.


Top
   
PostPosted: 12 Sep 2012 03:49 
Offline
Expert

Joined: 10 Feb 2012 02:20
Posts: 6033
Can you see if there is any output from this command:
Copy and paste it into a reply.

Code: Select all
LSCMD /?


Top
   
PostPosted: 12 Sep 2012 04:45 
Offline

Joined: 08 Aug 2012 09:24
Posts: 14
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.


Top
   
PostPosted: 12 Sep 2012 09:22 
Offline
Expert

Joined: 10 Feb 2012 02:20
Posts: 6033
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 ?


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 4 posts ] 

All times are UTC-06:00


Who is online

Users browsing this forum: Bing [Bot] and 6 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
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Limited