What is creating data.rec? Is the file ASCIi text or a binary file (if you try and open it in notepad does it make sense or is it gobbledegook?) How often do you need to do this? Just the once or regularly?
Looks like it's a binary file that is proprietary to your monitoring software. I'd suggest you need to go back to whoever wrote the software and ask them.
...At the moment we use a command promt, its long winded...
You may be able to put these commands in a batch file so you don't have to repeat them each time. A little more information about the process you have to use might help us make suggestions?
Yeah what do you actually do in a command prompt and what does it give you? So many unknowns here. Just so you know what we are getting at, data.rec means nothing, it's not a format in itself.