Has the format of the AFWININI.??? file been documented yet? If so, could someone please point me towards it and I'll go look there first. If not, here are the questions I am looking for answers to.

I am attempting to set up automated retrieval using a scheduled task for Ton. So far I can't tell if anything is happening when I run shortcut manually. FX starts up normally and sits there. Should it display a progress bar and close down or will it leave an FX window open when the retrieval is done?

The working GL data is located in:
G:\Accting Data\Current\CMHC\

The FX program is installed in:
G:\SOFTRAK\FX\

The FX data is stored in:
G:\SOFTRAK\FX\FX Data\CMHC\

We created a new user named FX in a group that only has permission to retrieve data. The password for the FX user is "inactive".

So far I have a shortcut containing this:
G:\SOFTRAK\FX\fx.exe /uFX /pinactive /d"g:\softrak\fx\FX Data\CMHC\" /eKAS /R

And I have a file named AFWININI.KAS containing this:

Code:
[Retrieve1]
Database="G:\Accting Data\Current\CMHC\GLGLOB.KAS"
UserID="FX"
Password="inactive"
SelectedDepartments="100, 110, 120, 130, 140, 150"
AppendData=0
RetrieveAllYears=0
UseExistingGroups=1
ReplaceDepartment=1


We're not sure yet which options should be set to 0 and which to 1 but we can figure that out after getting the automation part to work.

Where should this AFWININI.KAS file be located? g:\softrak\fx\ ? or g:\softrak\fx\fx data\? or maybe g:\softrak\fx\fx data\cmhc\ ?


... Ugh. Now that I look more closely, my AFWININI.KAS file has actually been named AFWININI.KAS.txt all this time and the extensions are hidden. Fixed that.

Ton has multiple G/Ls in different folders, do I need to create a shortcut for each and list them all in the AFWININI.KAS file, or will one shortcut perform every task under [Retrieve1] [Retrieve2] [Retrieve3] etc? Have I made any other errors in my shortcut or INI files?

Thanks for any help.
_________________________
Christian Monkman
Aboriginal Strategies LP