Martin:
I created the following MyJava.bat file in the root (C
directory:
"C:\Program Files\Java\jre1.5.0_06\bin\java.exe" "C:\Documents and Settings\howard-john\My Documents\Eclipse_Workspace\Java_File_Copy\copy_Files\CopyFile2.class"
when I execute this .bat file, the DOS window opens and closes to quickly for me to read, but doesn't work.
Paul:
From the DOS prompt, I did CHANGE DIRECTORY (cd) to point to the directory in which my CopyFile.class module is located, then did
java CopyFile2
it told me that there was an error in "main" - class not found.
Any suggestions?
Thanks again for your help.