That was what I was shooting for. Wanted to make the .bat files not dependent on users running them from the directory they live in (for build.bat as well as all the bin/*.bat files).
--jason On Sat, 2002-02-16 at 00:34, Sacha Labourey wrote: > Hello Jason, > > I don't know if I well understand your problem. So I will give an answer to > *a* question, hoping it was yours ;) > > Situation: when you are in the folder of a particular module (let's say > "jboss-all\build") and you type "..\cluster\build.bat", it will not build > the clustering but build the whole thing. => you want to determine the full > path of the batch being called. > > you can use "%~f0" to get the absolute file name (with folders) of the batch > being currently called > or "%~d0%~p0" to get the absolute folder containing the batch > > I don't know if it works with 9x but it seems to work with NT4, 2000, XP > > Cheers, > > > Sacha > > > _______________________________________________ > Jboss-development mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-development _______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
