🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.jbuilder.java.language
5 messages
5 total messages Started by apostolish Fri, 26 Aug 2005 10:40
RUN APPLICATION
#430
Author: apostolish
Date: Fri, 26 Aug 2005 10:40
20 lines
1433 bytes
Hello,
Until now, when i want to execute an application in windows  OS,  i use a
batch file.
For Example: 'test.bat'
which contains :
C:\jorbis7\jdk1.4\bin\javaw -classpath
"C:\jorbis7,.................C:\jorbis7\libX\dx.jar;C:\jorbis7\libX\beandt.j
ar;
............."  prog.Application1

but when i execute this batch file i have a  d o s   w i n d o w and my
application (until to close my application),
How can i avoid the appearance  of this dos window or is there any other way
to execute my applications?

Thanks in advance,

Hatziyannis Apostolis

-- 
Re: RUN APPLICATION
#431
Author: Kevin Dean [TeamB]
Date: Fri, 26 Aug 2005 12:34
37 lines
2202 bytes
apostolish wrote:

> Until now, when i want to execute an application in windows  OS,  i
> use a batch file.
> For Example: 'test.bat'
> which contains :
> C:\jorbis7\jdk1.4\bin\javaw -classpath
> "C:\jorbis7,.................C:\jorbis7\libX\dx.jar;C:\jorbis7\libX\be
> andt.j ar;
> ............."  prog.Application1
> 
> but when i execute this batch file i have a  d o s   w i n d o w and
> my application (until to close my application),
> How can i avoid the appearance  of this dos window or is there any
> other way to execute my applications?

You can put the same command line into a standard Windows shortcut.
Assuming that you're using Windows XP, right-click on the desktop,
select "New | Shortcut":

1. Enter the complete command-line above for the location of the item.
2. Press "Next".
3. Enter the name of your application.
4. Press "Finish".

-- 
Kevin Dean [TeamB]
Dolphin Data Development Ltd.
http://www.datadevelopment.com/

NEW WHITEPAPERS
Team Development with JBuilder and Borland Enterprise Server
Securing Borland Enterprise Server
http://www.datadevelopment.com/papers/index.html

Please see Borland's newsgroup guidelines at
http://info.borland.com/newsgroups/guide.html
Re: RUN APPLICATION
#432
Author: apostolish
Date: Mon, 29 Aug 2005 06:55
47 lines
2525 bytes
"Kevin Dean [TeamB]" <NkOdSePaAnM@datadevelopment.com> wrote in message
news:xn0e6g6sd2bnvy001-kdean@www.teamb.com...
> apostolish wrote:
>
> > Until now, when i want to execute an application in windows  OS,  i
> > use a batch file.
> > For Example: 'test.bat'
> > which contains :
> > C:\jorbis7\jdk1.4\bin\javaw -classpath
> > "C:\jorbis7,.................C:\jorbis7\libX\dx.jar;C:\jorbis7\libX\be
> > andt.j ar;
> > ............."  prog.Application1
> >
> > but when i execute this batch file i have a  d o s   w i n d o w and
> > my application (until to close my application),
> > How can i avoid the appearance  of this dos window or is there any
> > other way to execute my applications?
>
> You can put the same command line into a standard Windows shortcut.
> Assuming that you're using Windows XP, right-click on the desktop,
> select "New | Shortcut":
>
> 1. Enter the complete command-line above for the location of the item.
> 2. Press "Next".
> 3. Enter the name of your application.
> 4. Press "Finish".
>
> -- 
> Kevin Dean [TeamB]
> Dolphin Data Development Ltd.
> http://www.datadevelopment.com/
>
> NEW WHITEPAPERS
> Team Development with JBuilder and Borland Enterprise Server
> Securing Borland Enterprise Server
> http://www.datadevelopment.com/papers/index.html
>
> Please see Borland's newsgroup guidelines at
> http://info.borland.com/newsgroups/guide.html


OK BY THIS, BUT MY COMMAND LINE'S LENGTH IS 593 CHARACTERS.
INTO SHORTCUT THE ACCEPTABLE LENGTH IS TO 260 CHARACTERS(WIN 2000 SERVER),
WHAT CAN I DO ?

THANKS
Re: RUN APPLICATION
#433
Author: Jeroen Wenting
Date: Tue, 30 Aug 2005 09:42
13 lines
1381 bytes
>
>OK BY THIS, BUT MY COMMAND LINE'S LENGTH IS 593 CHARACTERS.
>INTO SHORTCUT THE ACCEPTABLE LENGTH IS TO 260 CHARACTERS(WIN 2000 SERVER),
>WHAT CAN I DO ?
>
>THANKS
>
>

Getting rid of that capslock key would be a good start.

Then learn to use the command shell properly, you could save a lot of space by not adding the directory name of the current directory all the time for example.
Re: RUN APPLICATION
#442
Author: kc
Date: Thu, 15 Sep 2005 07:33
23 lines
1887 bytes
Jeroen Wenting wrote:

>>OK BY THIS, BUT MY COMMAND LINE'S LENGTH IS 593 CHARACTERS.
>>INTO SHORTCUT THE ACCEPTABLE LENGTH IS TO 260 CHARACTERS(WIN 2000 SERVER),
>>WHAT CAN I DO ?
>>
>>THANKS
>>
>>
> 
> 
> Getting rid of that capslock key would be a good start.
> 
> Then learn to use the command shell properly, you could save a lot of space by not adding the directory name of the current directory all the time for example.
> 

You can write a bat file that has the java command
i.e. javaw -classpath ..........

Then create a short cut that points to the batfile. In the property for 
the short cut set the 'run' field to minimize. This should help

Kelvin
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads