For a Linux/Unix user its easy to use the “tee” utility to display the CIM response on screen & redirect the content to a file at the same time. What if you are on Windows and want to achieve the same functionality.
You still need the “tee” type utility on Windows, which you can get from http://code.google.com/p/wintee/downloads/detail?name=wtee.exe&can=2&q=
Once you have downloaded the “wtee.exe” you can copy the file to the folder that contains the “CIM.BAT” file – typically that would be in C:\ATG\ATG10.2\home\bin folder.
After you have copied the “wtee.exe” to C:\ATG\ATG10.2\home\bin – you can goto the Command prompt and execute the CIM file using the below command to display the response on the STD OUT as well as redirect the content to a TEXT file.
Once you are DONE running the CIM utility, you can check the recording by opening the file in your favorite TEXT EDITOR such as NOTEPAD or TEXTPAD++