BookmarkSubscribe
Choose Language Hide Translation Bar
Highlighted
dqr2
Community Trekker

Inaccessible Files on OneDrive

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?

0 Kudos
1 ACCEPTED SOLUTION

Accepted Solutions
dqr2
Community Trekker

Re: Inaccessible Files on OneDrive

Hi Craige, also Justin & Thierry,

 

Craig - thanks for the suggestion: using the $DOWNLOADS system variable does indeed seem to work, so that's a good workaround.

 

I've messaged Justin directly regarding the JMP version, as I have access to more than a single version here at the moment, and suspect I got myself confused as to which one actually illustrated the issue.

 

Thierry - I'll have a word with our IT department to see if there's a way I can access the OneDrive folder other than by using the path linked to the $DOCUMENTS system variable.

 

I've now got plan going forward, so many thanks for your suggestions everyone.

4 REPLIES 4

Re: Inaccessible Files on OneDrive

Hi @dqr2, what version of JMP are you using?
Justin
0 Kudos
Thierry_S
Community Trekker

Re: Inaccessible Files on OneDrive

Have you tried to look for your files in the "OneDrive" folder on your system? Just a thought
Thierry R. Sornasse
0 Kudos
Craige_Hales
Staff (Retired)

Re: Inaccessible Files on OneDrive

I've used $DOWNLOADS to make scripts "just work" with freshly downloaded data. Not sure how your onedrive setup might treat the downloads folder. If you download the data a 2nd time, the 2nd download is renamed and the script still needs to be touched, so maybe not a perfect solution.

Craige
0 Kudos
dqr2
Community Trekker

Re: Inaccessible Files on OneDrive

Hi Craige, also Justin & Thierry,

 

Craig - thanks for the suggestion: using the $DOWNLOADS system variable does indeed seem to work, so that's a good workaround.

 

I've messaged Justin directly regarding the JMP version, as I have access to more than a single version here at the moment, and suspect I got myself confused as to which one actually illustrated the issue.

 

Thierry - I'll have a word with our IT department to see if there's a way I can access the OneDrive folder other than by using the path linked to the $DOCUMENTS system variable.

 

I've now got plan going forward, so many thanks for your suggestions everyone.