PDA

View Full Version : display the output of the console version


knackeback
April 12th, 2006, 04:45 AM
Hi all,

i´m using TI 9.1 WS with the commandline based trueimagecmd.exe.
I have problems to display it´s Output in a .net based WindowsApplication.
In detail:
I start the trueimagecmd.exe from a self-written VB.Net application with some arguments (trueimagecmd.exe /deploy /filename:h:\images\PartitionG_00123F85AFC1.tib /partition:1-1 /target_partition:1-3). The standard output is redirected an displayed in a textbox. The problem is that the output only appears after trueimagecmd.exe has finished. In a normal Dos-Box, the output is displayed during runtime.
I need this in the windows.forms.textbox too, because I want to see the progress. With other console applications my .net app works fine. So I think the trueimagecmd.exe does not write to the console in the normal way(like other console apps).
Does anyone know something about this behavior ?
Thanks for any help and sorry for my bad english :-)

Michael

Acronis Support
April 13th, 2006, 01:26 AM
Dear knackeback,

Thank you for choosing Acronis Workstation Disk Backup Software (http://www.acronis.com/enterprise/products/ATICW/).

Could you please describe the issue in more details? What exactly did you try to perform. Also describe what exactly VB.Net application perform. After that create an account (http://www.acronis.com/enterprise/my/registration/), then log in (http://www.acronis.com/enterprise/my/) and submit a request for technical support (http://www.acronis.com/enterprise/my/support/). Attach all the collected files and information to your request along with the step-by-step description of the actions taken before the problem appears and the link to this thread. We will investigate the problem and try to provide you with the solution.

Thank you.
--
Aleksandr Isakov

knackeback
April 13th, 2006, 02:31 AM
Hi,

i will describe my problem in a very simple way:
on the console, i run the folling command:
trueimagecmd.exe /deploy /filename:h:\image.tib /partition:1-1 /target_partition:1-3 /progress:on > output.txt
The output ist now redirected to the textfile output.txt.
The problem is, that the output first appears in the textfile, if the application has finished restoring the image. I need this output during the restoration process.
Other console application do so, eg. run: dir c:\ /s > output.txt.
Now the output is written to textfile during runtime and not after the application has finished.
The restoration process itself works fine, there is no problem. Only the output is displayed to late.
The question is: how does trueimagecmd.exe write the output to console ?

Kind regards
Michael

Acronis Support
April 17th, 2006, 07:24 AM
Hello Michael,

Please accept our apologies for the delay with the response.

Please be aware that when you create\restore an image using Acronis True Image command line interface (trueimagecmd.exe) the progress screen is displayed with disabled scrolling which prevents the output from being reflected in the respective ".txt" file. As you have already noticed, the respective ".txt" file is being created only after the image creation\restoration process is finished.

If you want us to change the behaviour of Acronis True Image in any way or add some new features to this product, please feel free to post any of your suggestions in Acronis True Image WISH-LIST thread (http://www.wilderssecurity.com/showthread.php?t=85595).

Thank you.
--
Alexey Popov