Writing DOS-Programs

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,
I want to write a VB 5 program that works on the command-line (cmd.exe) and can be used in a pipe (e.g. dir | find "blabla" > textfile.txt).

Is there anyone who knows how I put the output to the dos prompt and read from the output of another command-line tool?

Thanks,
Andreas
 
You should create a Console Application. Just start a new project and choose
this type from the templates.

--
Greetz

Jan Tielens
________________________________
Read my weblog: http://weblogs.asp.net/jan


Andreas said:
Hi,
I want to write a VB 5 program that works on the command-line (cmd.exe)
and can be used in a pipe (e.g. dir | find "blabla" > textfile.txt).
Is there anyone who knows how I put the output to the dos prompt and read
from the output of another command-line tool?
 
Hi Andreas,

This is a VB.net language group, languages as VB6, VB5 etc are in the
newsgroups

microsoft.public.VB *

I think you get a better answer there.

Cor
I want to write a VB 5 program that works on the command-line (cmd.exe)
and can be used in a pipe (e.g. dir | find "blabla" > textfile.txt).
Is there anyone who knows how I put the output to the dos prompt and read
from the output of another command-line tool?
 
Hi Cor

sorry I was wrong. I use VB 6 not VB 5 but I can't find this microsoft.public.VB - newsgroups, there are only ".NET" groups. Possible their will no longer supported by microsoft.

Andreas
 
* "=?Utf-8?B?QW5kcmVhcw==?= said:
sorry I was wrong. I use VB 6 not VB 5 but I can't find this
microsoft.public.VB - newsgroups, there are only ".NET" groups. Possible
their will no longer supported by microsoft.

Click this link:

<
 
Back
Top