Community Tip - Your Friends List is a way to easily have access to the community members that you interact with the most! X
Hi,
Is there a way to set this outside of the environmental variables (SET APTCUSTOM=xxxxxx), e.g. in acl?
Cheers
Pete
Hi Peter,
I'm not sure if you can set it in ACL, but you can set the env. variable at runtime in a bat file.
@echo off
set APTCUSTOM=C:\custom;%%D
cd "C:\Program Files\PTC\Arbortext Editor\bin\x86"start " "editor.exe" %*
In Reply to Peter Li:
Hi,
Is there a way to set this outside of the environmental variables (SET APTCUSTOM=xxxxxx), e.g. in acl?
Cheers
Pete
Hey Jeff,
Thanks for replying, but the customer is specifically looking for a solution where the environment variable is not set through control panel or a batch file.
They want something else that Editor looks atso it knows where to find customisations, it may not exist!
Cheers
Pete
Hey Guys,
Thanks a lot for your suggestions and advice 🙂
Brandon, you nailed the 'real' reason pretty well.
We've already said as much to the customer and I have suggested he test it in his environment and let me know if this is adequate.
Cheers
Pete
Hi Paul,
Yes, that bulletin came out as a result of my query 🙂
I haven't tried the siteprefs solution as this seems to be linked to the repository adapters so what happens if the customer is not using one?
I couldn't get the acl solution to work, if anyone out there manages it I would love a copy of their .acl file
The customer is going to try the batch file for now...
Cheers
Pete
Hi Pete,
I needed something similar for a customer solution and it worked ok, within my application /init/setStuff.acl i just had:
sh setx MYVAR STUFF;
Cheers
Chris
Chris Western
www.tformat.com