AgentGen Question: writing o/p to file in MSDosPrompt

Frank Fock Frank.Fock____t-online.de
Thu May 24 10:56:09 CEST 2001


Hi Roy,

I cannot reproduce your problem with Win NT/2000.

Best regards,
Frank

Roy Loke wrote:

> 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