I finally got sick of not being able to preview SAS programs attached to email when using Outlook that I looked into why it couldn't. It turns out that the fix is easy. You just need to edit the Windows Registry and tell it that the PerceivedType for .sas files is text. Then Outlook knows that it is ok to let you preview the file.
There is a nice example of exactly what needs to change on SuperUser.com.
http://superuser.com/questions/91804/windows-7-preview-other-file-types-as-text-in-preview-pane
Not sure why this isn't the default for .sas files. Perhaps this is something that SAS can fix in the installation routines for PC SAS? Or perhaps it is fixed, but installaiton was rolled out to individual machines properly in my large company?
Thanks Tom. It also allows preview in Windows Explorer.
Available on demand!
Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.