** DotNET COBOL - Command Line Compiling ** At times you may want to simply do a recompile, to bring in changed copybooks, or do a regeneration at Start by reading the help - NetCOBOL for .NET V4.0(depending on level) users guide. - Look for: "Compile" There you will see a number of options explaining Compilation Options and specific methods. - ms-help://Fujitsu.COBOL.V40/UsersGuide/en/DevelopingApplications/CommandLine/COBNUGCmndLinCompiling.html The compiler can be found at: C:\Program Files\Fujitsu NetCOBOL for .NET V4.0\COBOL\COBOLC.exe You can string your compile options as a parameter, or you can place them in a file, then pass the file name to the compiler. An example of the contents of a file might be as follows: /wc:MESSAGE (Note: 'wc' points to the non-specific .NET compiler directives). /wc:SOURCE /wc:DLOAD /copypath:C:\YourDirec1\SubDirec1,C:\YourDirec2\subDirec2 You would then append the lines that direct the program information specifics. You could do this with a batch file, or a program that reads a file with the common compile options you use, appends to it the specific information regarding the compile you wish to do (this file typically ends in ".res"). /print:C:\ProgramData\FCQuickStart\TESTCOB.lst /target:library /out:C:\ProgramData\FCQuickStart\TESTCOB.DLL C:\ProgramData\FCQuickStart\TESTCOB.cob So when built, your final file that you would pass to the compiler looks like this: /wc:MESSAGE (Note: 'wc' points to the non-specific .NET compiler directives). /wc:SOURCE /wc:DLOAD /copypath:C:\YourDirec1\SubDirec1,C:\YourDirec2\subDirec2 /print:C:\ProgramData\FCQuickStart\TESTCOB.lst /target:library /out:C:\ProgramData\FCQuickStart\TESTCOB.DLL C:\ProgramData\FCQuickStart\TESTCOB.cob Your file might be saved with a name of: C:\MyTestCob.RES Your command line compile might look like: C:\Program Files\Fujitsu NetCOBOL for .NET V4.0\COBOL\COBOLC.exe @C:\MyTestCob.RES That's about it. contact Matt_Moser@Mosersoft.com for a tool that demonstrates how to do this, or email me at mmoser@AlchemySolutions.com for further assistance.