- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
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()
- When I doubleclick a .sas file rather than opening in the SAS editor it now tries to run it in batch mode
- When I right click and choose open with SAS 9.4 I get an error message saying: "Error: insufficient authorization to access C:\filepath" ( with the actual filepath)
- Bizarrely if I open SAS then I am able to open the file within SAS with file>open program.
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Hi Patrick, thanks for the reply.
Sas is already set as the opens with option for .sas files for me.
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
@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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
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.