Thanks Greg and Norm . . . your right, I should have mentioned it is for Windows 7 . . . I'll edit the original message, thanks!
I do not see any OS forums here on this site. I use CentOS too, but I am not using it in this case.
In the end, I found that it was easier just to right-click, select all, then go to the upper
left hand corner of the window and select "copy", then paste it into a file . . . .
It appears that when you adjust the Java environment to run the java and javac commands anywhere
on the command prompt, it then goes into the java mode, and cannot execute a dos-type command
such as >java -help > test.txt
So be it, I have better things to spend my time on.