BookmarkSubscribeRSS Feed
☑ This topic is solved. Need further help from the community? Please sign in and ask a new question.
_Hopper
Quartz | Level 8

I recently upgraded to 9.4M9 (Windows). SAS runs fine but I can no longer run any single programs in batch (the context menu contains nothing related to SAS now). How can I fix this?

1 ACCEPTED SOLUTION

Accepted Solutions
Kathryn_SAS
SAS Employee

In Windows 11, have you set the file association for .sas files to The SAS System for Windows as the default? Go to Settings -> Apps -> Default Apps -> Choose Defaults by File Type.

View solution in original post

9 REPLIES 9
SASKiwi
PROC Star

Have you tried running a SAS program from the Windows command line like so:

sas -sysin 'c:\MyFolder\MySASpgm.sas'
_Hopper
Quartz | Level 8
I don't need this. I can run it using a batch file. That's no problem. I can no longer shift+right click and get a context menu with SAS options in it after the upgrade.
SASKiwi
PROC Star

Providing a screenshot of what you are doing would be helpful.

_Hopper
Quartz | Level 8

This is what I see when right clicking on SAS programs now.

_Hopper_1-1753309552059.png

 

Quentin
Super User

Any chance you upgraded to Windows 11 as well?  With win 11 I have to SHIFT-right click to bring up the old context menu which includes Bath Submit.  I think there's a registry edit you can make to make the old context menu the default.

The Boston Area SAS Users Group is hosting free webinars!

Register now at https://www.basug.org/events.
_Hopper
Quartz | Level 8

It is Windows 11 and right click used to work now it does not.

Kathryn_SAS
SAS Employee

In Windows 11, have you set the file association for .sas files to The SAS System for Windows as the default? Go to Settings -> Apps -> Default Apps -> Choose Defaults by File Type.

_Hopper
Quartz | Level 8
As it turns out, it took a complete uninstall and clean reinstall for the associations to work correctly. After that was done, no more issues.

Catch up on SAS Innovate 2026

Dive into keynotes, announcements and breakthroughs on demand.

Explore Now →
How to Concatenate Values

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 9 replies
  • 3041 views
  • 1 like
  • 4 in conversation