view files

.bat can be viewed with notepad.

Java and C++ files (the raw code files) can be viewed in notpad as well. The compiled files cannot be viewed, they are binary programs.
 
You can view most files in notepad - that doesn't however mean that the contents will make sense.

Just right click the file, click "open with" and then "choose program." Then you can choose notepad to open it with.

Make sure that the box that says "always open this file type with this program" stays unchecked.
 
Compiled files are more easily viewed with a hexeditor, which allows you to see the binarycode of the file as hexadecimal numbers. It still doesn't make sense though:) I use VC++ to view and edit these files, which isn't very often.
 
If you get a *.jar file you can view the contents if you have the jar program. You can get jar from http://java.sun.com . Download the Java SDK SE.
 
Back
Top Bottom