Advertisement
5_2007-2008 Internet/ HTML #192221

Network Troubleshooting Tools

'I've been trying to get DOS command line output to show up in 'my Visual Basic programs. I finally figured it out. It works 'really simple. The program creates a batch file that is to be 'executed, instead of using the "Shell" command to execute single 'commands. The shell command also writes the output to a file. 'At the end of each batch file, the progams writes 'the word "DONE" to a text file called "finished." When a user 'starts a command, a timer constantly checks for the word "DONE" 'in the "finished" file. When the word finally is written to 'the file, the batch file is finished executing, and the program 'can read the output file it created.

AI

AI Summary: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.

Source Code
original-source
Upload
Original Comments (3)
Recovered from Wayback Machine