lcProjectName = "H:\mydir\myproject.pjx" lcDWZoptions = "Source Code Listing, Action Diagram" DO (HOME() + "\wizards\wzfoxdoc.app") WITH ; ,,, lcProjectName, lcDWZoptionsYou can find the list of possible options in wzformt.prg and wzfoxdoc.h in Tools\xsource\VFPSource\Wizards\wzfoxdoc directory. The ouput files are created in the current VFP directory in the OUT subdirectory.