commandline tool

AlineAline Posts: 18
Hello
I've newly created an project and saved it.
Now, I've tried to generate data with the commandline-Tool. But I've got the following:

R:\_Temp\zempa\Redesign\TestData>"C:\Program Files\Red Gate\SQL Data Generator 1
\SQLDataGenerator" /argfile:R:\_Temp\zempa\Redesign\TestData\test.sqlgen
CommandLine V1.0.0.1022
==============================================================================
Copyright Copyright c Red Gate Software Ltd 2008

Error: Unrecognised XML document type (unrecognised root element): Project.
Please use SQLDataGenerator.exe /? or SQLDataGenerator.exe /verbose /? for more
information.


What have I done wrong?

Thanks for your help.

Kind regards
Aline

Comments

  • Hello Aline,

    Thanks for your post. The reason for this error message is because you have an incorrect argument on the command line. /argfile: should actually be /project:

    For example:
    R:\_Temp\zempa\Redesign\TestData>"C:\Program Files\Red Gate\SQL Data Generator 1\SQLDataGenerator" /profile:R:\_Temp\zempa\Redesign\TestData\test.sqlgen

    The argument "/argfile:" is actually used for something else.

    I hope this helps.

    Regards

    Ben
  • I think ben actually meant to write

    R:\_Temp\zempa\Redesign\TestData>"C:\Program Files\Red Gate\SQL Data Generator 1\SQLDataGenerator" /project:R:\_Temp\zempa\Redesign\TestData\test.sqlgen
    Software Engineer
    Red Gate Software
  • Thanks a lot.
    With the right switch, it works perfectly. :oops:

    Thanks. :D
Sign In or Register to comment.