AppletTalk.com Forum Index AppletTalk.com
Java discussions newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

ma come si nasconde sta benedetta finestra dos?

 
Post new topic   Reply to topic    AppletTalk.com Forum Index -> Java (Italian)
View previous topic :: View next topic  
Author Message
Chiara
Guest





PostPosted: Wed May 26, 2004 10:24 am    Post subject: ma come si nasconde sta benedetta finestra dos? Reply with quote



Pensavo che con javaw si chiudesse anche la finestra dos.
In realtà non è così,almeno su XP.

Che devo scrivere sul .bat??

Grazie

--------------------------------
Inviato via http://arianna.libero.it/usenet/
Back to top
Dimitri De Franciscis
Guest





PostPosted: Wed May 26, 2004 10:30 am    Post subject: Re: ma come si nasconde sta benedetta finestra dos? Reply with quote



Chiara wrote:
Quote:
Pensavo che con javaw si chiudesse anche la finestra dos.
In realtà non è così,almeno su XP.

Che devo scrivere sul .bat??


start /B javaw .......


--
-- + Setaceous Pig + --
http://www.jroller.com/page/megadix/

Back to top
[Ech3L0n] NSA
Guest





PostPosted: Wed May 26, 2004 4:20 pm    Post subject: Re: ma come si nasconde sta benedetta finestra dos? Reply with quote



On Wed, 26 May 2004 10:24:32 GMT, Chiara wrote:

Quote:
Pensavo che con javaw si chiudesse anche la finestra dos.
In realtà non è così,almeno su XP.

Che devo scrivere sul .bat??


Non usare i batch. Usa i VBS dato che ti trovi in ambiente Windows:

------------------------------------ tuoprogramma.vbs
Dim wshshell
set wshshell=WScript.CreateObject("WScript.Shell")
WshShell.run "javaw <tuaClasse>",1,false
-----------------------------------------------------

Modificalo come ti sembra opportuno, poi lancialo con un doppio click e...
addio a finestra del prompt dei comandi.

--
Fermiamo Scientology prima che sia troppo tardi!!!
http://xenu.com-it.net - http://xenu.freewinds.cx/
(per rispondere personalmente leva IlDitoDalCulo)

Back to top
Giorgio Gallo
Guest





PostPosted: Wed May 26, 2004 8:48 pm    Post subject: [OT] Re: ma come si nasconde sta benedetta finestra dos? Reply with quote

Dimitri De Franciscis wrote:

Quote:
Chiara wrote:

Pensavo che con javaw si chiudesse anche la finestra dos.
In realtà non è così,almeno su XP.


anch'io pensavo che si chiudesse... però guardando nei .bat del mio
tomcat sul mio pc che uso solo io e anche se lo usa qualcun'altro di
certo non smanetta con tomcat ho trovato lo start /B che dice Dimitri: è
sconcertante

Quote:
Che devo scrivere sul .bat??


start /B javaw .......



sono tuttora sconcertato...

Back to top
Dimitri De Franciscis
Guest





PostPosted: Thu May 27, 2004 7:00 am    Post subject: Re: [OT] Re: ma come si nasconde sta benedetta finestra dos? Reply with quote

Giorgio Gallo wrote:
Quote:

anch'io pensavo che si chiudesse... però guardando nei .bat del mio
tomcat sul mio pc che uso solo io e anche se lo usa qualcun'altro di
certo non smanetta con tomcat ho trovato lo start /B che dice Dimitri: è
sconcertante


Te li ho modificati io ieri notte, volevo controllare se avevi qualche
winmx aperto per dirlo a Urbani...

;)


--
-- + Setaceous Pig + --
http://www.jroller.com/page/megadix/

Back to top
Chiara
Guest





PostPosted: Thu Jun 03, 2004 4:08 pm    Post subject: Re: ma come si nasconde sta benedetta finestra dos? Reply with quote

Il 26 Mag 2004, 12:30, Dimitri De Franciscis <a@b.com> ha scritto:
Quote:
Chiara wrote:
Pensavo che con javaw si chiudesse anche la finestra dos.
In realtà non è così,almeno su XP.

Che devo scrivere sul .bat??


start /B javaw .......

interessante.
Ho provato lo stesso su win98 e mi dice che /B non esiste.
E' possibile usare degli if dentro un .bat dove la condizione è il sistema
operativo (e come si trova??).
Grazie, ma di file batch non ci capisco nulla.

Chiara.

--------------------------------
Inviato via http://arianna.libero.it/usenet/

Back to top
Andrea B.
Guest





PostPosted: Fri Jun 04, 2004 9:37 am    Post subject: Re: ma come si nasconde sta benedetta finestra dos? Reply with quote

A me non funziona!!!

Dim wshshell
set wshshell=WScript.CreateObject("WScript.Shell")
WshShell.run "javaw pathnomeClasse",1,false

mi dice che no trova il Main
perchè???

Comunque io uso

Dim wshshell
set wshshell=WScript.CreateObject("WScript.Shell")
WshShell.run ("javaw.exe -classpath path nomeClasse")




"[Ech3L0n] NSA" <ech3l0n.IlDitoDalCulo (AT) email (DOT) it> wrote

Quote:
On Wed, 26 May 2004 10:24:32 GMT, Chiara wrote:

Pensavo che con javaw si chiudesse anche la finestra dos.
In realtà non è così,almeno su XP.

Che devo scrivere sul .bat??


Non usare i batch. Usa i VBS dato che ti trovi in ambiente Windows:

------------------------------------ tuoprogramma.vbs
Dim wshshell
set wshshell=WScript.CreateObject("WScript.Shell")
WshShell.run "javaw <tuaClasse>",1,false
-----------------------------------------------------

Modificalo come ti sembra opportuno, poi lancialo con un doppio click e...
addio a finestra del prompt dei comandi.

Back to top
Display posts from previous:   
Post new topic   Reply to topic    AppletTalk.com Forum Index -> Java (Italian) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.