Call a File from Batch/Shortcut
Posted on 2009-04-02
There are two desktop applications that I am trying to run at the same time via a desktop shortcut or a batch file but one of the applications needs to call an XML file. We are trying to prevent our users from having to navigate to the location of the XML file (network or local) each time they run the application.
App1: Onbase client (Hyland software)
App2: AppEnabler (this needs to call the XML file) (Hyland software)
Running AppEnabler via the command prompt/batch file works just fine, see below. It calls and opens the XML file automatically. The app then stays in the system tray. But I am trying to combine this with the onbase client.
(THIS WORKS) START "" "C:\Program Files\Hyland\Application Enabler\AEClient.exe" "\\Path\to\XML\file\AE.xml"
The Onbase client can be launched with a -AE switch (appenabler) appended at the end of the desktop shortcut ("c:\path to client\onbase.exe" -AE). This will launch appenabler but prompts the users to the XML file each time. I've tried "c:\path to client\onbase.exe" -AE "path-to-XML file" but does not work.
Essentially, I want the users to be able to launch the onbase client, appenable, and calls the XML automatically - all in one shot via a shortcut or a batch file.