I recently went through the same motions of installing and running the J2EE server. Starting the J2EE server from the script using the -verbose option also gave me the error:
bad command or file error
This may be due to the fact that there are 2 '=' in one of your script lines for the j2ee.bat file. Most likely the last line in the script where all the environment variables are glued together to run the application (ie j2ee server)
You may want to reference this June 4th post which explains why someone may get the bad command or file error and how to fix it. This was helpful in solving all of my command errors in both the J2EE and Runclient scripts.
Good Luck!