[Tutor] Copy script

Alan Gauld alan.gauld at btinternet.com
Thu Apr 10 19:17:30 CEST 2008

"Tony Cappellini" <cappy2112 at gmail.com> wrote

>>>I don;t see how the input file relates to the pdf files?
>>>Which part of the pdf file does the input numbers refer to?
> Kent, I believe the text file contains the name

Actually that was me :-)

> The problem with the Windows console commands is I don't believe 
> they have
> the ability to read files for input.

Of course they do - they can use input redirection just like Unix.
But the FOR /F option I mentioned is explicitly for iterating over
the contents of a text file. And of course you can use backticks(`)
to TYPE a file into a command, in place of a file list, say.

The XP command line tools are much better than the early DOS
stuff - although still nowhere near to Unix shells.

Alan G. 

More information about the Tutor mailing list