Results 1 to 4 of 4
  1. #1
    coco is offline Member
    Join Date
    Jul 2007
    Posts
    39
    Rep Power
    0

    Default Batch Files in java

    Hi, Is it possible to start a batch file from java program?

    Thanks.

  2. #2
    Swamipsn is offline Member
    Join Date
    Jul 2007
    Posts
    74
    Rep Power
    0

    Default

    I think its possible in the batch file you must specified the class path and the exact class location.... I am not sure..

  3. #3
    pradeesh is offline Member
    Join Date
    Dec 2008
    Posts
    4
    Rep Power
    0

    Default

    ya its possible

    use Runtime.exec
    Last edited by pradeesh; 12-05-2008 at 07:38 AM.

  4. #4
    CJSLMAN's Avatar
    CJSLMAN is offline Moderator
    Join Date
    Oct 2008
    Location
    Mexico
    Posts
    1,159
    Rep Power
    7

    Default Links...

    Chris S.
    Difficult? This is Mission Impossible, not Mission Difficult. Difficult should be easy.

Similar Threads

  1. run a batch file as windows nt service
    By radhika123 in forum New To Java
    Replies: 0
    Last Post: 04-04-2008, 01:46 PM
  2. How to convert batch application to server app?
    By johann_p in forum New To Java
    Replies: 0
    Last Post: 03-28-2008, 09:39 PM
  3. Problem in batch file
    By marwa in forum New To Java
    Replies: 0
    Last Post: 08-14-2007, 10:24 AM
  4. Executing Batch
    By zcoarens in forum New To Java
    Replies: 0
    Last Post: 08-14-2007, 09:49 AM

Posting Permissions

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