Ive seen a lot of posts about setting relative paths but not for the reverse
There is a setting somewhere, please tell me what it is?
I open a new project. I drop a .SAS file in. The path saved is a relative path. This means anyone else opening my project cannot see my shortcuts presumably because there is something in the shortcut that is attached to my user profile (guessing)
My boss opens a new project on the same server but under his user. He drops a program in. The path saved is the absolute path. This means I can open his project and see his shortcut.
There is an option in Project Properties, file references which says:
Use paths relative to the project for programs and importable files.
Playing around with this setting / opening / closing / saving etc.. doesn't affect the outcome.
There must be a setting but cant seem to find it. Any help?
This is really annoying as I cannot develop any EG projects for my team.
We think we have found the solution to this. We have seen that there is an odd shortcut in my profile. If I ignore the shortcut and use the normal structure then others can view my shortcut. Getting admin to remove that shortcut - will check back with an OK once done
OS: LIN x64
Added Note: This seems to be the issue. A strange shortcut was the culprit
Its EG which puts the relative path in. I am unable to put the absolute path. There is a change button, but it simply asks me to point to a new destination. I do not have the ability of typing in the path.
No problem NOT solved
use %include instead of 'dropping' a program in. Or copy the code into a new program within the project. You still need to use directories your entire team has read/write access to.
Tom. I use %inc to tun the code. But I want to "see" the code to edit it in EG. I cannot see how 2 profiles on the same server can have 2 different actions. Interestingly our Admin shares my problem so at least I have an ally
Admin have mentioned that the file system we "see" is a shortcut to the real thing (sorry me not technical enough to really understand). When we use %inc we have to insert a path over and above what we see in EG to run the actual code. So when we "drag and drop" the code in EG stores inserts the relative path to the starting point. That all being said, if it were the same behavior for everyone that would be one problem, but the 2 different actions with all the same apparent settings leads to the confusion. All I'm looking for is the option that I need to set to replicate the absolute path in the shortcut. There has been so many posts for setting the relative paths, that I really thought that doing the reverse may have been obvious to those in the know.
I am looking for the setting which differentials the 2 users one recording the absolute path and the other the relative path. The business about %inc is only a distraction
So perhaps the issue is not with EG but with different ways that the PC's that are running EG are accessing the files?
Windows 10 has some nasty shortcut behavior. I frequently can see files in Windows Explorer in the "Downloads" folder, but when I try to copy the path from the header bar in Windows Explorer it won't show me the actual path to the folder (like C:\Downloads). Yet other days it does. Somehow I must be opening Windows Explorer in a different way sometimes.
Hey Snoopy
Thanks for replying
Yeah I did check that
the checkbox "Use paths relative to the project for programs and importable files" is NOT checked? (As per original post)
Yes and the second point, if you just hover over the icon you get that information. It was this which shows which is saved relative or absolute
Going to promote this to SAS help desk as this forum doesn't seem to have an answer
We think we have found the solution to this. We have seen that there is an odd shortcut in my profile. If I ignore the shortcut and use the normal structure then others can view my shortcut. Getting admin to remove that shortcut - will check back with an OK once done
OS: LIN x64
Added Note: This seems to be the issue. A strange shortcut was the culprit
SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!
What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.