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 

Nascondere console in Runtime.exec

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





PostPosted: Tue Dec 23, 2003 9:42 am    Post subject: Nascondere console in Runtime.exec Reply with quote



Buongiorno a tutti.

In ambiente W2k, jdk1.3.1, devo mappare un driver di rete. Dopo aver
googolato un pochino, ho optato per usare
Runtime.getRuntime().exec("net use k: \pcshare pass /U:user
/persistent:no");
La cosa funziona egregiamente con un piccolo problema.
Mi hanno fatto storie perchè si vede la console quando viene mappato
il driver.
Così mi sono messo a googolare ancora un pochino ma senza troppi
risultati.
Ho provato ad usare cmd /C /MIN net use ... ma niente da fare, la
console si apre sempre.
Il metodo exec, accetta anche un'array di parametri (envp), questi
potrebbe essere la soluzione, ma non riesco a trovare un'elenco di
valori assumibili.
Avete qualche idea? Eventualmente anche ridotta a icona.
Oppure sapete dirmi come mappare un driver di rete senza passare per
net use.

Ciao e grazie a tutti D.
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.