I dont find any attachment. As I mentioned if you want to use setenv.bat, all you need to do is create a file with name setenv.bat (in Windows OS) and enter the below line in it.
Change the Diagnostics parameter specific to your environment. Save it and place the file in the same location where Catalina.bat file exists. The Catalina.bat file will call the setenv.bat automatically during startup and pick this parameter and pass it to the java.