Alex's Weblog

Weblog di Ermanno Goletto (Codename Alex - A Learning EXperience)
posts - 438, comments - 4214, trackbacks - 294

My Links

News

Il blog è stato
trasferito al
 seguente link:


DevAdmin Blog

Add my blog to Live

Foto

Curriculum Vitae


Il contenuto di questo blog e di ciascun post viene fornito “così come é”, senza garanzie, e non conferisce alcun diritto. Questo blog riporta il mio personale pensiero che non riflette necessariamente il pensiero del mio datore di lavoro.

Logo Creative Commons Deed


Logo MCTS

Logo MCSA

Logo MCP

Logo Microsoft Certified Business Management Solutions Professional

Microsoft Certified Business Management Solutions Specialist


Logo UGIdotNET UGIdotNET Contributor


Logo UGISS UGISS Contributor


Logo SysAdmin.it SysAdmin.it Staff


Article Categories

Archives

Post Categories

Blogs

Database

Development

Friends

IT

Knowledge Base

Links

MBS

MCP

MVP Sites

User Groups

Virtualization

Snippet: Cattura dell'output di un comando DOS

Dim myProcess As New Process
Dim myProcessStartInfo As New ProcessStartInfo("cmd.exe")

myProcessStartInfo.Arguments = "/C dir c:"
myProcessStartInfo.UseShellExecute = False
myProcessStartInfo.RedirectStandardOutput = True
myProcess.StartInfo = myProcessStartInfo

myProcess.Start()

Console.WriteLine(myProcess.StandardOutput.ReadToEnd)

myProcess.Close()

Print | posted on sabato 14 febbraio 2004 18:38 | Filed Under [ Code & Snippet .NET Framework ]

Comments have been closed on this topic.

Powered by:
Powered By Subtext Powered By ASP.NET