Re: Batch file params
- From: Andrew Thompson <SeeMySites@xxxxxxxxxxx>
- Date: Sat, 27 Aug 2005 12:01:48 GMT
On 27 Aug 2005 04:40:52 -0700, iblamemicrosoft@xxxxxxxxx wrote:
> I know how in html files you can simply go:
>
> <param name="number" value="1">
For an applet? Yes.
> but how can you replicate this in a batch file?
For an applet? You can't (at least not easily).
For an application, you can provide arguments on the
command line when you invoke Java, like..
java TheMainClass arg1 arg2 arg3
For more information on the 'java' command, check the JavaDocs
<http://java.sun.com/j2se/1.5.0/docs/tooldocs/windows/java.html#synopsis>
Once you can start your Java application from the command
line. You can put that command in a .bat file and it should
work just fine to launch your application with the arguments
at the end of the 'java' command.
HTH
--
Andrew Thompson
physci.org 1point1c.org javasaver.com lensescapes.com athompson.info
"Come on boys, let's push it hard.."
P.J. Harvey 'Victory'
.
- Follow-Ups:
- Re: Batch file params
- From: Thomas Hawtin
- Re: Batch file params
- References:
- Batch file params
- From: iblamemicrosoft
- Batch file params
- Prev by Date: Batch file params
- Next by Date: Re: Batch file params
- Previous by thread: Batch file params
- Next by thread: Re: Batch file params
- Index(es):
Relevant Pages
|