Am Sam, 2002-02-16 um 09.34 schrieb Sacha Labourey: > 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 >
more substitutions could be found by issuing: call /? or for /? bax > 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
