|I went ahead and explored my WinRAR directory, and found Rar.exe and Rar.txt.|
Rar.txt contained the following:
RAR <command> [ -<switches> ] <archive> [ <@listfiles...> ]
[ <files...> ] [ <path_to_extract\> ]
Command line options (commands and switches) provide control of
creating and managing archives with RAR. The command is a string (or a
single letter) which commands RAR to perform a corresponding action.
Switches are designed to modify the way RAR performs the action. Other
parameters are archive name and files to be archived into or extracted
from the archive.
I copied Rar.exe into the folder containing my .bat file and changed the code to
rar u "archiveone.jar" "file.txt"
rar u "archivetwo.rar" "file.txt"
It said that they were bad archives.