• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

reply from Jeroen Wenting

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Jeroen Wenting
ranch hand
Member # 4073
posted April 08, 2004 03:34 AM
--------------------------------------------------------------------------------
just as Unix has sh files as shellscripts, Windows has bat files and OS/2 has REXX files.
Different syntax, same effect.
Hello Jeroen
I tried windows commands to execute from Java. But i can't get the result. In Unix i got the result.
How to execute windows commands to entering client Series of commands like
Enter command : dir
Enter command ate
Enter command : N -- flag

any solution?
 
author and iconoclast
Posts: 24207
46
Mac OS X Eclipse IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
pjan --
You ought to reply in the original thread, so people had some idea of what you're talking about. Removed from the original context, it's impossible for anybody else to understand this and reply.
 
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Jose,
I'm a little confused by your post but I pasted a very simple .cmd file below. Just copy the text and name *.cmd This will take care of any classpath issues you may have as well as launch your app. You can include this .cmd file in a larger batch file very easily too.


I would include a properties file or XML file too if you haven't already.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic