Re: importing variables from external file: additional information

Posted by Felice P16730 on January 17, 2010

In Reply to Re: importing variables from external file: additional information posted by Stefan Loeners on January 17, 2010

: 1. The user selects the DWG to JPG type of conversion from a listbox and selects source and target directory in the Delphi app and clicks OK
: 2. The Delphi app reads the following command line from the INI file: \tools\irfanview\i_view32.exe SourceDir\*.dwg /advancedbatch /convert=TargetDir\*.DWG
: 3. The Delphi app fills in the SourceDir and TargetDir variables with the values selected by the user
: 4. The delphi app launches winexec with the parameters
-----------------

A bit of confusion :p
At the end, you say "It is part 3 that is the difficult bit. Simply reading the command line string..." but reading is in part 2: "The Delphi app reads..."

What is the problem, part 2 or part 3?

Can you also post an example of the contents of an ini file that you use?

Related articles

       

Follow Ups