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 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9. Sign up by March 14 for just $795.
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.
Ready to level-up your skills? Choose your own adventure.