Forum Discussion
Philip_Baird
12 years agoCommunity Expert
Hi Natalya, you appear to have missed an escaping "\", between MyFolder and config123 i.e.
ini = Storages.INI("C:\\MyFolder\config123.ini"); should be
ini = Storages.INI("C:\\MyFolder\\config123.ini");
Also, as you have the ini file in the Files Store, I would recommend using the Files::FileNameByName() method to pass in the path to Storages::INI() method to avoid these issues in future, e.g.
ini = Storages.INI( Files.FileNameByName( "AMITestConfiguration_INI" ) );
where "AMITestConfiguration_INI" is the name in Files of the ini file you wish to process
Regards,
Phil Baird
ini = Storages.INI("C:\\MyFolder\config123.ini"); should be
ini = Storages.INI("C:\\MyFolder\\config123.ini");
Also, as you have the ini file in the Files Store, I would recommend using the Files::FileNameByName() method to pass in the path to Storages::INI() method to avoid these issues in future, e.g.
ini = Storages.INI( Files.FileNameByName( "AMITestConfiguration_INI" ) );
where "AMITestConfiguration_INI" is the name in Files of the ini file you wish to process
Regards,
Phil Baird
Related Content
- 7 years ago
Recent Discussions
- 4 days ago