<p>How exactly using VB6 can I can call any Windows shell command as you would from the command-line?</p>

<p>For example, something as trivial as:</p>

<pre><code>echo foo
</code></pre>

Shell and ShellExecute?
http://msdn.microsoft.com/en-us/library/aa242087.aspx
```
```
Dim RetVal
RetVal = Shell("C:\WINDOWS\CALC.EXE", 1)   ' Run Calculator.
```
```