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.
Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.
Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.
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.