Click to See Complete Forum and Search --> : Dos Applications


Raistlin
December 18th, 2000, 01:05 PM
I have .exe that will be ran in DOS mode. I know how to get the commandline that was used to run it how do I output text to the DOS shell. Something like cout for C++ except for VB.
Thanks for the help.
Raistlin

Iouri
December 18th, 2000, 03:19 PM
Dim wshShell
Set wshShell = CreateObject("WScript.Shell")
wshShell.run "Command /K dir c:\*.*", 1, True

That will DOS Dir command

Iouri Boutchkine
iouri@hotsheet.com