run chm help file through java code

hello,

would you tell me how can i run a help.chm file using java code. i am trign this but no luck.

first try

Process pp=run.exec("C:/Program Files/Internet Explorer/IEXPLORE.exe./res/bobftphelp.chm" );

Second try

Process pp=run.exec(" ./res/bobftphelp.chm" );

It run fine a help.doc file but not help.chm file.

please help me

Thanka in advance

Ravi Charan

[419 byte] By [raviadhaa] at [2007-10-3 4:57:50]
# 1
Your paths are not even valid, with those slashes...
CeciNEstPasUnProgrammeura at 2007-7-14 23:03:11 > top of Java-index,Java Essentials,Java Programming...
# 2
hello CeciNEstPasUnProgrammeur,Path is correct , if i change the slash then it gives me error. would you cerrect it and past it plz
raviadhaa at 2007-7-14 23:03:11 > top of Java-index,Java Essentials,Java Programming...
# 3
Process pp=run.exec("C:\\Program Files\\Internet Explorer\\IEXPLORE.exe .\\res\\bobftphelp.chm" );
CeciNEstPasUnProgrammeura at 2007-7-14 23:03:11 > top of Java-index,Java Essentials,Java Programming...
# 4
Hello CeciNEstPasUnProgrammeur,Now there is not any error but IE does not run and display my .chm file. when i run the program IE is opened but chm file does not run.woould u tell me now how can i run it.
raviadhaa at 2007-7-14 23:03:11 > top of Java-index,Java Essentials,Java Programming...
# 5

hi,

i have run the help.chm file by this command in windows

Process pp=run.exec("C:\\WINDOWS\\hh.exe .\\res\\bobftphelp.chm" );

but would you tell me how can i run this on linux or on other OS. bez hh.exe is windows dependent.

now what should i do. please help me fix this problem.

raviadhaa at 2007-7-14 23:03:11 > top of Java-index,Java Essentials,Java Programming...