I appreciate that this is not really a JMP problem but an IT issue of ours that I need to talk to them about, but I'll float it here anyway in case anyone has any suggestions.
The local C: drives on a recently-installed new batch of laptops here appear to been replaced by links to a centrally-located OneDrive account - and as soon as any files saved to the $DOCUMENTS directory (or any subdirectory of it) have been uploaded to that account, my JSL scripts can no longer see them. The
show(files in directory("$DOCUMENTS"))
command returns nothing but a single file called "desktop.ini", despite there being any number of JMP data sets of mine saved in that directory that are still both visible and directly accessible to me via both Windows Explorer and JMP's own File | Open command on the main menu.
I could save data to a directory that isn't linked to the OneDrive account, but the use of the $DOCUMENTS path variable allows me to distribute the scripts to other users without having to worry about the physical addresses of their local directories. Does anyone have any ideas?