Article View: free.it.visual-basic
Article #1105Comando Shell e Prompt dei comandi
From: -- El Cifi --
Date: Mon, 04 Oct 2004 13:07
Date: Mon, 04 Oct 2004 13:07
19 lines
1576 bytes
1576 bytes
Ciao a tutti,
sapete come si pu� fare per leggere le eventuali risposte di alcuni
comandi inviati dalla funzione shell?
Ad esempio dal prompt dei comandi � possibile usare il comando "net session"
per vedere chi usa la rete del pc locale. Da prompt visualizzo:
"Computer Nome utente Tipo client In pausa da
----------------------------------------------------------------------------
---
\\USER GUEST Windows 4.0 1 00.06.44
Esecuzione comando riuscita."
Come posso leggerlo anche da VB?
In parole povere � possibile creare un programma prompt dei comandi da VB6?
Grazie mille.
Technical Details
Message-ID:
<cjrhph$f9b$1@lacerta.tiscalinet.it>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!fr.ip.ndsoftware.net!skynet.be!news.mailgate.org!draco.tiscalinet.it!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: f94ee,7a47dd0e9208773,start X-Google-Attributes: gidf94ee,public X-Google-Language: ITALIAN,ASCII Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!fr.ip.ndsoftware.net!skynet.be!news.mailgate.org!draco.tiscalinet.it!not-for-mail From: "-- El Cifi --" <mioCognome@mioDominio.miaNazione> Newsgroups: free.it.visual-basic Subject: Comando Shell e Prompt dei comandi Date: Mon, 4 Oct 2004 15:07:56 +0200 Organization: Tiscali Spa Lines: 21 Message-ID: <cjrhph$f9b$1@lacerta.tiscalinet.it> NNTP-Posting-Host: ppp-62-10-82-154.dialup.tiscali.it X-Trace: lacerta.tiscalinet.it 1096895089 15659 62.10.82.154 (4 Oct 2004 13:04:49 GMT) X-Complaints-To: abuse@tiscali.it NNTP-Posting-Date: 4 Oct 2004 13:04:49 GMT X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1437 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441