VERIFIED SOLUTION i

Resolve MapInfo or MapBasic locking folder when using FileOpenDlg

Products affected: MapInfo Pro™, MapInfo Professional®, MapBasic®

Issue

MapInfo Pro™ and/or MapBasic® locks a folder directory, if a file within it is opened in the application and then closed.

This could simply be opening and closing using the menu items, or using the function FileOpenDlg - where this issue was first identified.

This is affecting MapInfo Pro v16.0.2 and prior.

Cause

This is currently a bug in the software and has been identified by engineering under the reference MIPRO-90546

Resolution

UPDATED: August 24, 2017
There is no fix as of writing (22/08/2017), but a current workaround would be to open and close a file from a "dummy" directory, either within your MapBasic code or via the menu options. This should then release the previous directory so that it can be moved/renamed.