By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,481 Members | 979 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,481 IT Pros & Developers. It's quick & easy.

Writing DOS-Programs

P: n/a
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
Nov 20 '05 #1
Share this Question
Share on Google+
6 Replies


P: n/a
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" <an*******@discussions.microsoft.com> wrote in message
news:EC**********************************@microsof t.com...
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

Nov 20 '05 #2

P: n/a
Cor
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?

Nov 20 '05 #3

P: n/a
Whoops, I missed the "VB5"... Thx Cor ;-)

--
Greetz

Jan Tielens
________________________________
Read my weblog: http://weblogs.asp.net/jan
"Cor" <no*@non.com> wrote in message
news:u7**************@tk2msftngp13.phx.gbl...
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?


Nov 20 '05 #4

P: n/a
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
Nov 20 '05 #5

P: n/a
* "=?Utf-8?B?QW5kcmVhcw==?=" <an*******@discussions.microsoft.com> scripsit:
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:

<news://news.microsoft.com/microsoft.public.vb.general.discussion>

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>
Nov 20 '05 #6

P: n/a
Thanks in advance,
Andreas
Nov 20 '05 #7

This discussion thread is closed

Replies have been disabled for this discussion.