Moving location of SQLite data file

I would like to move the location of my data file from the app directory to a network drive.

Currently the text in my extraFiles section is this:
MyData.db,"",NSB.overwriteNever

It seems to work fine where it is.

My network drive is designated L:\
This didn’t seem to work:
L:\MyDataFile\MyData.db,"",NSB.overwriteNever

Is it possible to put the data file on a network drive?
And what would the syntax look like?

Thanks.

You didn’t say whether you’re running as Web App or VoltBuilder app.

Keep on forgetting.

It’s a VoltBuilder app on my Kindle tablet.

That will be up to the Cordova plugin you use for this. You’ll need to check its documentation on npmjs.org and GitHub.

Check out these cordova plugins:

cordova-plugin-file
cordova-plugin-file-opener2