Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion input from pipe or file?
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Tom Lavedas  
View profile  
 More options Sep 12 2011, 8:45 am
Newsgroups: alt.msdos.batch.nt
From: Tom Lavedas <tglba...@verizon.net>
Date: Mon, 12 Sep 2011 05:45:12 -0700 (PDT)
Local: Mon, Sep 12 2011 8:45 am
Subject: Re: input from pipe or file?
On Sep 12, 1:46 am, "Todd Vargo" <tlva...@sbcglobal.netz> wrote

> Batch files do not accept or use input from a pipe or a file.

Todd, that used to be true under command.com, but was corrected under
cmd.exe.  Try it, for example ...

 @echo off
  for /f "tokens=*" %%I in ('more') do echo.[%%I]

Pipe a DIR listing through it or redirect files into and/or out of
it.  It works well (except for those pesky blank lines).
_________________________
Tom Lavedas


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.