expand the ./filename to fully qualified path automatically
shield kumar
Greenhorn
Joined: Feb 05, 2009
Posts: 28
posted
0
I have a java file which takes a filename as parameter with fully qualified path(starting from root '/').
I use this java file in UNIX m/c.
This is how I execute my java file
I want here that user should be able to give just the filename as parameter not with fully qualified path.
I want that somehow the xyz class comes to know where the param.txt is located without the user specifying it's full path.