how to pass a two parmeters in Runtime.exec to call hlp file
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   richa_mehrotra
Posted On:   Friday, March 15, 2002 12:56 AM




how to pass a parameters in a Runtime.exec to call a hlp file including the "winhelp.exe" part, and not just "abc.hlp". so that i am able to get a system help file of notepad


Re: how to pass a two parmeters in Runtime.exec to call hlp file

Posted By:   Krzysztof_Raciniewski  
Posted On:   Monday, March 18, 2002 03:33 AM

You can use the Runtime.exec(String[]) method. The use is shown below:


void runHelp (String helpFile) {
String[] params = {"winhelp.exe, help};
Runtime.exec (params);
}
About | Sitemap | Contact