Hi all,
I have one jar file with in my project,For that jar file i need to pass
"path of jar file to cmd prompt through my application".........It is not a
problem
But When i am deploying my project in different systems,then i will retriev
path dynamically by using
Application.StartupPath....property
But It will retrieving entire path ..........Here my problem starts
How can I modify that path dynamically by adding my "jar file" path
My Code:
string Applicationpath = Application.StartupPath;
string[] words = Applicationpath.Split('\\');
string parm0 = words[0].ToString();
string parm1 = words[1].ToString();
string parm2 = words[2].ToString();
Finalpath = parmo+parm1+jarpath;
It will works for particular system only,Because When client paste my project
in different directories means,It will not Work
for EX:i am retrieving path by using Application.StartupPath
E:\\bill\\Hybrid\\bin\\Debug
i need to modify it as Above
E:\\bill\\Hybrid\\jarfile(jar file folder path)
Thanks