-1

How can I select an SQLite DB from a custom path using XPCOM? I could already select the db and process it when it is inside the paths like ProfD or HomeDesk but I need to access it by its absolute file path.

0

1 Answer 1

0

See documentation, you merely need to change the file in the example. If you want to access a file by its absolute path then instead of using FileUtils.getFile() you should use FileUtils.File constructor:

var file = new FileUtils.File("c:\\foo\\bar");

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.