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 Alumni

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_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 Alumni

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.

sas-innovate-wordmark-gradient-background 3.pngSAS Innovate

Call for content now open!

It's your turn to help shape SAS Innovate 2027. Share your expertise and inspire the SAS community.

Submit your proposal →

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
  • 4176 views
  • 1 like
  • 4 in conversation