On Sun, Dec 21, 2008 at 9:29 PM, Douglas Wade <-> wrote:
> Thanks for the information. I did what you mentioned and it works
> great! I did not understand the batch file comment,
Many shops represented on Adepters, mine included, use batch files to start
Editor in order to be able to customize the environment in any number of
ways. If you don't need to do it, don't. However, if you need it, there
isn't a better way ... that I'm aware of.
Here is an example batch file from one of my applications:
-----------------------------------------------------------
applicationaname_startup.bat:
rem ***************************************************
rem Use this file to open an applicationamegoeshere Epic 5.2 session.
rem ***************************************************
assoc .xml=xmlfile
ftype xmlfile="C:\Program Files\Arbortext\Editor52\bin\epic.exe"
-newinstance
regsvr32 /s "c:\program files\arbortext\editor52\adapters\epicdctm5.dll"
rem ***************************************************
set path=%path%;\servername1\custom\applicationamegoeshere;
set APTLMHOST=@servername2
set APTFRAGCX=none
set APTRC=\servername1\custom\applicationamegoeshere\scripts\app_menus.acl
set APTCUSTOM=\servername1\custom\applicationamegoeshere
set OURAPPLICATION=applicationamegoeshere
rem ***************************************************
start "applicationamegoeshere" /b "C:\Program
Files\Arbortext\Editor52\bin\epic.exe" -newinstance
exit
-----------------------------------------------------------
We deliver shortcuts that authors save to their desktops that point to this
file. They *must* use the shortcut or they will not get the proper authoring
environment and their customizations will be missing. Using the
shortcut/batch file strategy allows authors who work on a variety of
applications to "easily" switch between them. For what it's worth,
Documentum deploys these batch files so changes are distributed with every
checkout.
--
Paul Nagai