Page 1 of 1

Calling Stata do file in Cspro

Posted: January 28th, 2019, 5:58 pm
by Yass
Hi Cspro Team,
Please is it possible to use cspro entry program to run a stata do file.

Thanks

Re: Calling Stata do file in Cspro

Posted: January 29th, 2019, 7:18 am
by josh
You should be able to using execsystem. Anything that can be run from the Windows command line can be launched using execsystem. A quick Google search reveals that you can run a do file in Stata using the command line: https://www.stata.com/support/faqs/windows/batch-mode/

Re: Calling Stata do file in Cspro

Posted: January 29th, 2019, 12:04 pm
by Yass
Thanks Josh !!