I am trying to run a sas 9.3 batch program and there is the following error
insufficient authorization to access c:\Windows\system32
Thanks for the solution,
When reporting problems, make it a point to always include the complete log of the failed step(s).
In the case of a failed batch run, make sure that all necessary files (source, log, output) are specified with a full path that you have permission to use.
How are you running your batch program? (cmd window, batch file, powershell, VB script, scheduler)
To quote myself:
"How are you running your batch program? (cmd window, batch file, powershell, VB script, scheduler)"
Using Windows 7 with Task Scheduler
Windows 7 Professional
I just hit a similar error. In my case it was because I did not include the -log option, and it looks like when a scheduled task runs as administrator, it writes the log to c:\WINDOWS\system32. I would double check that your -log option is in the command string.
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
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.