@aGerman
This is true for batch scripts, but i think he meant from the dos shell, where it is not the normal behavior.
@Samir
You may use this in some cases, for example if you want to create some sample data text files:
You just need a multiline input field, as example this html edit field, and create some sample files using notepad:
Code: Select all
notepad sample1.txt |more
notepad sample2.txt |more
notepad sample3.txt |more
notepad sample4.txt |more
...
notepad sampleN.txt |more
Then just mark all, copy it to the clipboard (ctrl+c) and paste it to a dos shell window (right click, insert).
The result is it opens one notepad after the other: I don't like it if there are 10 or 20 files open at the same time.
So i often do it this way, if the sample text could not be automated.
penpen
Edit: Sorry forgotten: But you could have expected it, think of the behavior of more and the pipe operator.