Wil,

Thanks. I've now changed to below. Wondering what happens if the user runs multiple instances of the same program?

Code:
    Procedure OnComCreate
        String sUserDataPath sProgram


        Move (Module_Name(Desktop)) to sProgram
        
        Get_Environment "APPDATA" to sUserDataPath
        Append sUserDataPath "\AIM\" sProgram "\"


        Set ComUserDataFolder to sUserDataPath
    End_Procedure