in reply to Windows: system("type ...") vs. system("cmd /c type ...")
Does that produce expected results ?perl -e "system('type myfile.txt') <NUL"
Of course, on most systems (such as mine), it won't matter - as the shell's 'type' command gets invoked, anyway.perl -e "system('type myfile.txt <NUL')"
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Windows: system("type ...") vs. system("cmd /c type ...")
by rovf (Priest) on Nov 17, 2008 at 12:34 UTC |