Results 1 to 1 of 1
  1. #1
    Michael is offline Member
    Join Date
    Jun 2008
    Posts
    2
    Rep Power
    0

    Smile need a code to get the result of avgscan.exe file

    Hello everybody,
    I got a problem in getting output of avgscan.exe file through BufferedReader class .

    My coding is :
    Process pp=run.exec("C:\\Program Files\\Grisoft\\AVG Free\\avgscan c:\\VirusScan");
    BufferedReader in =new BufferedReader(new InputStreamReader(pp.getInputStream()));
    System.out.println(in.readLine());
    can anybody help me to get the result


    Last edited by Michael; 06-11-2008 at 12:21 PM.

Similar Threads

  1. Replies: 2
    Last Post: 02-19-2014, 05:36 PM
  2. Replies: 2
    Last Post: 04-07-2009, 06:25 AM
  3. Replies: 3
    Last Post: 12-12-2008, 12:12 PM
  4. Simply output the result to a text file.
    By silvia in forum New To Java
    Replies: 1
    Last Post: 08-07-2007, 05:48 AM
  5. getting a random result
    By gradon in forum New To Java
    Replies: 2
    Last Post: 07-19-2007, 03:54 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •