• 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

help set up a config file

 
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

Here is the situation
I have an exe which exists in C:\test\test.exe
For it to run fine, I have to set an env variable. In the command prompt I set it as
set TEST = c:\test\test.cfg and I run the test.exe, everything runs no problems

Now, from a wsad project, I have a java file and I am calling the same exe like this:
Process p = Runtime.getRuntime().exec("C:/test/test"); ->
when I run this, this CANNOT see the cfg file..

Please let me know where should i set this reference to cfg file in wsad ?

Thanks,
reply
    Bookmark Topic Watch Topic
  • New Topic