loVFP = CREATEOBJECT("VisualFoxPro.Application") >loVFP.DoCmd("BUILD EXE myProj.exe FROM myProj.pjx")...and if this works, you could do it externally with the Windows Script Host
' VFPExe.vbs ' cExe is the fully qualified exectuable filename to build ' cProj is the project to build it from Dim oVFP, cExe, cProj Set oVFP = CreateObject("VisualFoxPro.Application") oVFP.DoCmd("BUILD EXE " & cExe & " FROM " & cProj)Naturally, the project and executable could be passed as parameters.