PALMisLIFE 討論區

標題: jfile和 jconv5使用的問題 [列印本頁]

作者: jihonc    時間: 2008-3-12 19:14
標題: jfile和 jconv5使用的問題
例如,我有一個CSV檔,所以用jconv5,選擇Jfile .csv convert to PDB.
然後,還要按exit離開
有沒有批次檔可以一次完成這些步驟?或是如何去做批次檔?

ps: 會用這個實在是在handbase當怕了,而且發現jfile的速度比handbase還快
也用不到handbase那麼多功能
作者: ContaxG2    時間: 2008-3-13 11:22
標題: Re: jfile和 jconv5使用的問題
在JFTconv的文件中有提到可以Command Line 執行,

或許可以先寫個批次檔,再去做轉檔的動作。您可以試試。

http://jftrans.com/jftconv.htm

摘錄JFTconv的簡單說明
JFTconv can be run from a standard Windows interface or from a command line that permits its use in batch processing or other types of automation.

[ 本文最後由 ContaxG2 於 2008-3-13 11:25 編輯 ]
作者: jihonc    時間: 2008-3-13 13:45
標題: Re: jfile和 jconv5使用的問題
sorry, 我沒看說明書,謝謝您
To use the jconv5.exe in command-line driven mode:

Command Line usage examples:

For csv->JFile 5.0 use:
jconv5.exe 1 <input_file> <output_file> <database_name> <optional_info_file>

or for encrypted databases:

jconv5.exe 5 <input_file> <output_file> <database_name> <password> <optional_info_file>

Where:
<input_file> is the path and DOS filename of the .csv to convert
        examples: c:\temp\test.csv   or    test.csv
<output_file> is the path and DOS filename of the .pdb file to create
        examples: c:\temp\test.pdb   or    test.pdb
<database_name> is the name of the database that will appear on the Pilot
        examples: TestDB    or TestDatabase
<password> is the encryption password
<optional_info_file> is optional parameter, if you have an seperate
        'information' file saved for the this database.
        examples: c:\temp\test.ifo   or   test.ifo
作者: jihonc    時間: 2008-3-15 10:41
標題: Re: jfile和 jconv5使用的問題
我的 handbase desktop 資料庫是放在 c:\Program Files\palmOne\ChangJ\Backup\
寫了一個bat,將 handbase desktop的資料先轉成csv,再用這個bat
jconv5.exe 1 hy.csv jhy.PDB hitest
move /y jhy.PDB ..\install

下次,同步時就自動將csv-->pdf-->並且移動pdb到install目錄了

[ 本文最後由 jihonc 於 2008-3-15 10:45 編輯 ]




歡迎光臨 PALMisLIFE 討論區 (http://pil.tw/) Powered by Discuz! X2.5