Sure. The location of the code is stored in _beautify. So something like DO (_beautify) WITH <file to beautify> should do the trick. Although I wouldn't take my word for it. I'd go look at the VFP source to verify parameters. :-)
--
rk -----Original Message----- From: ProfoxTech [mailto:profoxtech-bounces@leafe.com] On Behalf Of Wes Wilson Sent: Tuesday, November 15, 2016 1:23 PM To: profoxtech@leafe.com Subject: Beautify
Is there a way to run a prg through BEAUTIFY without bringing up Tools->Beautify? e.g. BEAUTIFY anyprogram.prg Wes Wilson, President ERW Custom Programming, Inc. Crescent Lake Plaza 5459 Elizabeth Lake Rd. Waterford, MI 48327 (248) 683-4182 LinkedIn Profile "Companies pay too much attention to the cost of doing something. They should worry more about the cost of not doing it" Philip Kotler www.erw.com weswilson@erw.com