advertisement

Find Code  Advanced Search   

Free Newsletters:   
browse free vb code
Submit Code
ASP,  HTML, and XML
Database
Dates  and Math
Files  and Directories
Forms  and Controls
Lists,  Collections, and Arrays
Miscellaneous
Multimedia/Games
Office/VBA
Network/Internet
Registry
Screen/Graphics
String  Manipulation
System/API
Windows  2000/XP
VB.NET/ASP.NET



advertisement
Capture the Output of a DOS application

Author: Marco Pipino
Category: System/API
Type: Classes
Difficulty: Advanced

Version Compatibility:  Visual Basic 5   Visual Basic 6  

More information: This class capture the outpus of a DOS application via API functions, redirecting the stdOutput pipe and the stdErr pipe of a DOS application from the screen to the pipe that this class create.

You can use this with any DOS application. To use it with a DOS command, type the following into text box:

cmd.exe /c [command], e.g.,

cmd.exe /c dir

This code has been viewed 92362 times.

Instructions: Click the link below to download the code. Select 'Save' from the IE popup dialog. Once downloaded, open the .zip file from your local drive using WinZip or a comparable program to view the contents.

source/DOSOutputs.zip

Sponsored Links