BookmarkSubscribeRSS Feed
jklein271
Calcite | Level 5
Does anyone know of a way to schedule an EG project that has a "password to open" enabled on the project? I scheduled a weekly project to run and noticed I didn't receive an e-mail that it had run this morning. Sure enough when I came in there was a window prompting me to enter the project password. It makes completely sense but I would like to get this working without dropping the security on the project. Does anyone know if there is a way to edit the vbs to include the password?
3 REPLIES 3
Doc_Duke
Rhodochrosite | Level 12
I don't know the direct answer to your question, but a work-around would be to use Windows security to limit access to the .egp file.
ChrisHemedinger
Community Manager
The Application.Open method within the VBScript can take a password as well. For example:

project = app.Open("c:\projects\proj.egp","mysecretpassword")

Chris
SAS For Dummies 3rd Edition! Check out the new edition, covering SAS 9.4, SAS Viya, and all of the modern ways to use SAS!
jklein271
Calcite | Level 5
Thank you very much, Chris. That worked great.

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

Creating Custom Steps in SAS Studio

Check out this tutorial series to learn how to build your own steps in SAS Studio.

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
  • 3 replies
  • 1060 views
  • 0 likes
  • 3 in conversation