Need Help in .exe should run internally

  • jazz2k8
  • Born
  • Born
  • jazz2k8
  • Posts: 3

Post 3+ Months Ago

Hi Folks..this is my first post...

I want to run .exe file(Omnipage.exe) which is a OCR engine.i want to run this in my java code,but no GUI will be pop up when i give inputs to that.the funtionality of Omni Page is if we give a .tif file to that from File-->Open gui mode..it will take it as input and processes it returns an output in .txt format.IF i want to run this with my java code i created a bat file and given input as 1.tif as argument but it is opening still in gui mode..i just want to create like..

commndprompt:
C:\\Omnipage.exe D:\tiffolder\1.tif
the result willbe 1.txt which will directly stored in D:\tiffolder.


This is very urgent..please help me..thanks..
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • Don2007
  • Web Master
  • Web Master
  • Don2007
  • Posts: 4924
  • Loc: NY

Post 3+ Months Ago

I'm not a programmer but I can see that you are missing a redirection to 1.txt if you wanted stored there.

Omnipage.exe > D:\tiffolder\1.txt That will send the output to 1.txt

If you want it to go to stdout too, then you need some other code.

Post Information

  • Total Posts in this topic: 2 posts
  • Users browsing this forum: No registered users and 47 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
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.