I have made an application in which projects are linked to a specific version of WF, the user selects his project to work on and automatically the right WF version is opened with all the right project settings.
My application uses a .BAT-file to startup a WF-version and to run a trialfile. With this trailfile the right config is loaded andthe right workingdirectory is set.
-call "C:\PTC\WF3\bin\proe1.bat" C:\PTC\Settings\startup.txt-
Now my problem is that WF is started in a certain directory, then the config is loaded. In this config is specified where WF drops its trial-files, but this is ignored and WF drops its trailfiles in the directory from which the program started.
If I put my config in the startup directory, the config will be used directly form startup and the trialfiles are dumped correctly in the config-specified folder. I could also put a 1 line config in the instalation\text directory for each WF instalation on the network. But I dont like both options
So my question is: is there a way to control the WF startup directory from the .BAT file. (just like in a desktop shortcut)