Is it possible to check in a cfg file if d: / MS_connect exists and if not check if c: / MS-connect exists and put the following variable MS_DATA_HOORN to that path?

Is it possible to check in a cfg file if d: / MS_connect exists and if not check if c: / MS-connect exists and put the following variable MS_DATA_HOORN to that path?

Parents
  • Hi,

    ms_connect is a directory with organization data and therefore exists on the D: or on the C: drive.

    I want to test in a cfg file if there is a D: / ms_connect directory. If so, then ms_data_hoorn = D: / ms_connect must be set and if it is not there, it must be checked whether c: / ms_connect exists. if yes then ms_data_hoorn = C: / ms_connect must be set.

    if exists d: / ms_connect
    set ms_data_horn = D: / ms_connect
    else ms_data_horn = C: / ms_connect
    or something

Reply
  • Hi,

    ms_connect is a directory with organization data and therefore exists on the D: or on the C: drive.

    I want to test in a cfg file if there is a D: / ms_connect directory. If so, then ms_data_hoorn = D: / ms_connect must be set and if it is not there, it must be checked whether c: / ms_connect exists. if yes then ms_data_hoorn = C: / ms_connect must be set.

    if exists d: / ms_connect
    set ms_data_horn = D: / ms_connect
    else ms_data_horn = C: / ms_connect
    or something

Children