in reply to UNIX shell commands in Windows

You can either use the cygwin utils (they can be used under "DOS" as well as under cygwin bash) or you might try Perl Power Tools which has perl versions of "cat" and many other *nix commands.