alex ma

Greenhorn
+ Follow
since Mar 08, 2012
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by alex ma

Hello there,

i was wondering how i can put the filepath to a property file in my program. I have a class Main with a main methode which uses a path to my property file. I also have a .bat file which calls this main methode. But this .bat file is in a folder in the java project. Therefore the .bat expect a differnt path (with prefix "../") to the property file.

how can i make my main methode runnable for both the .bat and the main it self.

thank you in advance
12 years ago