Specification of argfile parameter

Documents SQL Server 2000, 2005 and 2008 databases.

Specification of argfile parameter

Postby benseaman » Thu Nov 24, 2011 12:30 pm


I see from the command-line help for SQLDoc there is an argfile parameter as with the other tools however I cannot find any help topics on the Red Gate website for this. Could someone please point me in the direction of this? Essentially i want to pick the server and database dynamically without having to creating a project.


Posts: 5
Joined: Tue Oct 04, 2011 6:08 pm

Postby james.billings » Fri Nov 25, 2011 4:17 pm

Thanks for posting.

The argfile parameter, unfortunately, doesn't offer anything else than the other switches. We do have an internal 'bug' for the lack of documentation around it, but essentially, the same options can be used in the argfile as you can pass anyway.

So you could have an XML argfile containting, for instance:

<?xml version="1.0"?>
<force />

but NOT

<?xml version="1.0"?>
<force />

Therefore the argfile isn't much more useful.
I think the only way you could automate dynamically supplying the server and db would be to write a cleverer batch file that could take input and pass on the variables to the SQL Doc command.
Posts: 1121
Joined: Wed Jun 16, 2010 11:10 am
Location: Red Gate

Return to SQL Doc Previous Versions

Who is online

Users browsing this forum: No registered users and 0 guests