> In EJBServer.bat, there is the run command: > java -Dinstall.root=%JONAS_ROOT% -Djava.security.policy=%JONAS_ROOT%\config\ > java.policy %1 %2 %3 %4 %5 %6 %7 %8 %9 org.objectweb.jonas.server.Server > > What do all the %#'s mean? When I try this command normally, in a command > prompt, it says there's no such class as %1. > > What is it doing? How do they get filled? (I'm assuming they're variables?) Well, this is not a JOnAS but a Windows Batch-Scripting task, but here is the answer: %n in a BAT file is exchanged by command line argument #n by the command processor. This means, in this special case, if you do C:>EJBServer arg1 arg2 arg3 then what command.com really does when executing this line of the script is to exchange %1 by arg1, %2 by arg2, %3 by arg3 and so on. An argument that is not given is exchanged by an empty string. HTH Markus ---- To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "unsubscribe jonas-users". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".
