I am having a few issues that started on Friday after I tried to run some code that failed. The code involved calling a .exe file using call system()
I have no idea how this change occurred based on the code I ran so any advice on how to restore default SAS behavior would be greatly appreciated.
1. Right click on one of your .sas files and select Properties from the menu.
2. Use the change button in the Properties window to navigate to the application you want the .sas file to open with.
Hi Patrick, thanks for the reply.
Sas is already set as the opens with option for .sas files for me.
@Coreyw184 wrote:
Hi Patrick, thanks for the reply.
Sas is already set as the opens with option for .sas files for me.
"When I doubleclick a .sas file rather than opening in the SAS editor it now tries to run it in batch mode"
If above still happens even with the .sas files being registered to open with SAS then you need to verify that what you're pointing to is not what runs it in batch. To be sure manually select the .exe that you want to run (it can also be a .lnk pointing to the .exe, just use the same than what you're using to start SAS on its own).
From the looks of it the latest Windows update also broke a few links on my computer.
Hello @Coreyw184,
See also the suggestions in last week's thread What to set as default app for handling sas program files (.sas) in Windows, in particular the Knowledge Base article linked by RobH which solved the other user's problem.
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!
SAS' Charu Shankar shares her PROC SQL expertise by showing you how to master the WHERE clause using real winter weather data.
Find more tutorials on the SAS Users YouTube channel.