One of the two companion commands for outreg2 is shellout, which provides
immediate access to the formed tables. shellout is a wrapper for shell.
Unlike shell, shellout does not require the exact file path of the program
in order to open a non-Stata document and will automatically close the DOS
command window after the document has been opened.
Unfortunately, shellout only works for Windows XP/NT. I do not have access
to other computer platforms and therefore cannot make the necessary
adjustments for non-Windows. I would be more than happy to add the necessary
codes to outreg2/shellout if someone would provide them to me.
The codes should be such that only the name of the document (myfile.doc) is
sufficient to cause it to be opened using the associated program (MS Word).
In other words, it must be path-invariant. Having to specify the directory
path for a program is no fun at all and would not be very useful
implementing from inside outreg2.