AgentGen Question: writing o/p to file in MSDosPrompt

Roy Loke LokeCM____fsl.fujitsu.com.sg
Thu May 24 05:48:54 CEST 2001


Dear mailing list,

I hope i can get some help. This is quite a silly problem, but it's 
been bugging me. I'm using jdk v1.2.2.

When in MsDos Prompt, i run this command:
"agentgen.bat .\mibstore generate PSTable-MIB c 3.4 > 
.\tmp\PSTable.cpp"

However, the generated cpp code is shown on the screen (which i 
think shouldnt happen), and a zero byte PSTable.cpp is created. 
As such, i couldnt get the code. 
The same goes when i try to generate the header file.  I tried the 
command "dir *.* > dir.txt" and it works ok.

What am i doing wrong? Can someone suggest another way of 
writing the code to a file?

regards,
roy



More information about the AGENTPP mailing list