How to open .scr scripts in Windows 11 with "assoc" command

How to open .scr scripts in Windows 11 with "assoc" command

searingwolfe
Observer Observer
3,500 Views
6 Replies
Message 1 of 7

How to open .scr scripts in Windows 11 with "assoc" command

searingwolfe
Observer
Observer

First and probably only post, but I had a hard time finding how to open AutoCAD .scr files in the latest Windows 11. In case it wasn't posted yet, enter this into Command Prompt while running as Administrator (no quotes):

For Windows 11: "assoc .scr=scriptletfile"

For Windows 10: "assoc .scr=txtfile"

0 Likes
3,501 Views
6 Replies
Replies (6)
Message 2 of 7

paullimapa
Mentor
Mentor

You cannot assoc .scr file to open with AutoCAD but you should be able to assoc to open with notepad. Have you tied old fashion method of using Windows Explorer to right mouse click on any .scr file, then select Properties and then Change to associate to notepad?


Paul Li
IT Specialist
@The Office
Apps & Publications | Video Demos
0 Likes
Message 3 of 7

searingwolfe
Observer
Observer

Sorry, I forgot to mention that I wanted to open it with Notepad. scr files are Screen Saver files for Windows by default, but for my purposes they are script text files. In Right-click --> Properties there's no option to Open with any file for Screen Savers. "assoc .scr=txtfile" used to work, but on Windows 11 it still prompts me to choose a program to open it (clicking Always Run w/ Notepad doesn't work either). The only "assoc" that works now is scriptletfile.

Message 4 of 7

paullimapa
Mentor
Mentor

Check out this video tutorial which shows you various methods to change the association. As long as you have admin rights you should be able to make the change


Paul Li
IT Specialist
@The Office
Apps & Publications | Video Demos
0 Likes
Message 5 of 7

adamUMUAR
Community Visitor
Community Visitor

I've also been trying to figure this out ever since accidentally upgrading to Windows 11.  I tried your method, but I got an "access is denied. Error occurred while processing: .scr".

My User is the Admin, so IDK why access is denied, unless it's a Windows 11 Home limitation.

Why isn't there a script edit command in AutoCAD itself? 

0 Likes
Message 6 of 7

cadffm
Consultant
Consultant

Hi

 

and why not open via open command in your editor?

Why not by right-click 'open with'?

Why not...

 

>>"Why isn't there a script edit command in AutoCAD itself? "

1. No need

2. Because AutoDESK didn't implemented such a feature.

 

Sorry, but we are all users like you 🙂

Sebastian

Message 7 of 7

pendean
Community Legend
Community Legend
0 Likes